Progress® Telerik® Reporting R1 2021
Unit.Parse Method (String, CultureInfo)
Parses a string value to create a new Unit based on the
specified culture.
Namespace:
Telerik.Reporting.DrawingAssembly: Telerik.Reporting (in Telerik.Reporting.dll)
Syntax
Parameters
- value
- Type: SystemString
A string value defining the unit. - culture
- Type: System.GlobalizationCultureInfo
The CultureInfo object defining the rules for the parsing.
Return Value
Type: UnitThe 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