XUnit Operators and Type ConversionsTerminal Works - PDF Printing.Net Library

The XUnit type exposes the following members.

Operators

  NameDescription
Public operatorStatic memberEquality
Memberwise comparison. To compare by value, use code like Math.Abs(a.Pt - b.Pt) < 1e-5.
Public operatorStatic member(Double to XUnit)
Converts a double to an XUnit object with type set to point.
Public operatorStatic member(Int32 to XUnit)
Converts an int to an XUnit object with type set to point.
Public operatorStatic member(String to XUnit)
Converts a string to an XUnit object. If the string contains a suffix like 'cm' or 'in' the object will be converted to the appropriate type, otherwise point is assumed.
Public operatorStatic member(XUnit to Double)
Returns a double value as point.
Public operatorStatic memberInequality
Memberwise comparison. To compare by value, use code like Math.Abs(a.Pt - b.Pt) < 1e-5.
Top
See Also

Reference