MeasureUnit Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search
Line 3: Line 3:
 
{{#customTitle:MeasureUnit Enumeration}}
 
{{#customTitle:MeasureUnit Enumeration}}
 
{{#parentPage:PXV:Common|MeasureUnit Enumeration|enum}}
 
{{#parentPage:PXV:Common|MeasureUnit Enumeration|enum}}
{{ToReview}}
 
  
Specifies the measure unit.
+
 
 +
Specifies the unit of measurment.
  
 
== Syntax ==
 
== Syntax ==
Line 31: Line 31:
 
:Pica, 1/6 of inch.
 
:Pica, 1/6 of inch.
 
;_Unit_max_
 
;_Unit_max_
:The number of enumeration elements plus 1.
+
:The number of enumeration elements, plus 1.

Revision as of 13:25, 21 May 2015


Specifies the unit of measurment.

Syntax

enum MeasureUnit
{
    Unit_pt    = 0,
    Unit_in    = 1,
    Unit_cm    = 2,
    Unit_mm    = 3,
    Unit_pc    = 4,
    _Unit_max_ = 5,
};

Constants

Unit_pt
Point, 1/72 of inch.
Unit_in
Inch.
Unit_cm
Centimeter.
Unit_mm
Millimeter.
Unit_pc
Pica, 1/6 of inch.
_Unit_max_
The number of enumeration elements, plus 1.