Pageflex Document Action API
Measurement Constructor (s)
Namespaces > Pageflex.Scripting > Measurement > MeasurementNew(String)
Create a Measurement from a String containing a number with units, such as "1.3cm".


Supported unit abbreviations are ag (agates), ci (ciceros), cm (centimeters), di (didots),
in (inches), iu (internal units), mm (millimeters), pi (picas), and pt (points).

Exception | Condition |
---|---|
InvalidMeasurementException | The specified String could not be converted to a Measurement. |
Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)