Parses a string value to create a new Unit.

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

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.

Version Information

Supported in: 1.0.1

See Also

In this article
Not finding the help you need?