UnitParse Method
Create a unit from a string.

Namespace:  TallComponents.PDF
Assembly:  TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 4.0.97.0
Syntax
public static Unit Parse(
	string unitString
)

Parameters

unitString
Type: SystemString

Return Value

Type: Unit
Remarks
UnitDescription
ptPoint, 1/72 Inch
picaPica, 1/12 Point
pxPixel, assumes a resolution of 72dpi.
mMeter
cmCentimeter, 2.54cm is 1 Inch
mmMillimeter
umMicrometer
inInch
ftFoot, 12 inch is 1 foot
ydYard, 36 inch is 1 yard
%Percentage. Values of this type are converted into a fraction. (e.g. 50% is 0.5 )
See Also