On this Page
_toDOUnits
This method converts common units of measure (inches, centimeters) to internal DocOrigin units of measure.
Syntax
_toDOUnits(
string)
Parameters
string is a string value to be converted.
Returned Value
Returns an integer number of internal units (microns).
Description
This routine converts a number such as "1.25in" into internal DocOrigin coordinates (microns). See the Script Units section for a list of units of measure that may be specified. Invalid strings return a value of 0.