MeasureUnit Enumeration
From PDF XChange PDF SDK
Line 20: | Line 20: | ||
== Constants == | == Constants == | ||
;Unit_pt | ;Unit_pt | ||
− | :Point, 1/72 of inch | + | :Point, 1/72 of inch. |
;Unit_in | ;Unit_in | ||
− | :Inch | + | :Inch. |
;Unit_cm | ;Unit_cm | ||
− | :Centimeter | + | :Centimeter. |
;Unit_mm | ;Unit_mm | ||
− | :Millimeter | + | :Millimeter. |
;Unit_pc | ;Unit_pc | ||
− | :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 06:10, 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.