Method Parse
Namespace TallComponents.PDF.Layout
Struct Unit
Create a unit from a string.
UnitDescriptionptPoint, 1/72 InchpicaPica, 1/12 PointpxPixel, assumes a resolution of 72dpi.mMetercmCentimeter, 2.54cm is 1 InchmmMillimeterumMicrometerinInchftFoot, 12 inch is 1 footydYard, 36 inch is 1 yard%Percentage. Values of this type are converted into a fraction. (e.g. 50% is 0.5 )
Syntax
public
Unit
Parse(
String
unitString
)
Returns
Unit
Parameters
String
unitString