MeasureUnit Enumeration
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 2: | Line 2: | ||
{{#customTitle:MeasureUnit Enumeration}} | {{#customTitle:MeasureUnit Enumeration}} | ||
{{#parentPage:PXV:Common|MeasureUnit Enumeration|enum}} | {{#parentPage:PXV:Common|MeasureUnit Enumeration|enum}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | Specifies the | + | Specifies the measure unit |
== Syntax == | == Syntax == | ||
Line 21: | Line 20: | ||
== Constants == | == Constants == | ||
;Unit_pt | ;Unit_pt | ||
− | : | + | :Point, 1/72 of inch |
;Unit_in | ;Unit_in | ||
− | : | + | :Inch |
;Unit_cm | ;Unit_cm | ||
− | : | + | :Centimeter |
;Unit_mm | ;Unit_mm | ||
− | : | + | :Millimeter |
;Unit_pc | ;Unit_pc | ||
− | : | + | :Pica, 1/6 of inch |
;_Unit_max_ | ;_Unit_max_ | ||
− | :The | + | :The number of enumeration elements plus 1 |
− | + | ||
− | + | ||
− | + |
Revision as of 05:09, 20 May 2015
Specifies the measure unit
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