Progress® Telerik® Reporting R3 2017

UnitParse Method (String)

Parses a string value to create a new Unit.

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

Syntax

public static Unit Parse(
	string value
)

Parameters

value
Type: SystemString
A string value defining the unit.

Return Value

Type: Unit
The created Unit.

Remarks

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.

See Also