The Units object supports conversions between strings and measures expressed in millipoints.
Methods
ToVal | Returns number of millipoints for the specified measurement string, e.g. "10pt". |
ToStr | Returns default measurement string, e.g. "10pt" for the specified value in millipoints. |
CheckStr | Returns True if the the specified measurement string is valid. |
To create Units object:
Units object is implicitly created, thus there's no need to create it explicitly.
See also