Measurement Constructor (s)

Pageflex Document Action API

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".
Syntax
C# Visual Basic Managed C++
public Measurement (
	string s
)
Public Sub New ( _
	s As String _
)
public:
Measurement (
	String^ s
)
Parameters
s (String)
A String containing a number with units, such as "1.3cm".
Remarks
Supported unit abbreviations are ag (agates), ci (ciceros), cm (centimeters), di (didots), in (inches), iu (internal units), mm (millimeters), pi (picas), and pt (points).
Exceptions
Exception Condition
InvalidMeasurementException The specified String could not be converted to a Measurement.

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)