Progress® Telerik® Reporting R3 2021

Unit.Parse Method (String)

Parses a string value to create a new Unit.

Namespace:  Telerik.Reporting.Drawing
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)


public static Unit Parse(
	string value


Type: SystemString
A string value defining the unit.

Return Value

Type: Unit
The created Unit.


The parameter passed to this Method should be of the form "2px", "3.4in", "4cm", "2mm", "12.5pt", "4pc", etc. For more information on string representations of units see UnitType.

Version Information

Supported in: 1.0.1

See Also

In this article
Not finding the help you need?