Units Object

Build 1501 on 14/Nov/2017  This topic last edited on: 21/Nov/2014, at 10:45

The Units object supports conversions between strings and measures expressed in millipoints.

Methods

ToValReturns number of millipoints for the specified measurement string, e.g. "10pt".
ToStrReturns default measurement string, e.g. "10pt" for the specified value in millipoints.
CheckStrReturns 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

Overview