MeasureUnit Enumeration
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:MeasureUnit Enumeration}} | {{#customTitle:MeasureUnit Enumeration}} | ||
+ | {{#parentPage:PXV:Common_Enumerations|MeasureUnit|enum}} | ||
− | Specifies the | + | Specifies the unit of measurment. |
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">enum MeasureUnit | <pre class="brush:cpp;gutter:false">enum MeasureUnit | ||
{ | { | ||
− | Unit_pt = 0 | + | Unit_pt = 0, |
− | Unit_in = 1 | + | Unit_in = 1, |
− | Unit_cm = 2 | + | Unit_cm = 2, |
− | Unit_mm = 3 | + | Unit_mm = 3, |
− | Unit_pc = 4 | + | Unit_pc = 4, |
− | _Unit_max_ = 5 | + | _Unit_max_ = 5, |
}; | }; | ||
</pre> | </pre> | ||
Line 18: | 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. |
== See Also == | == See Also == | ||
− | + | [[PXV:IPXV_Inst_FormatMeasureValue|IPXV_Inst::FormatMeasureValue]], [[PXV:IPXV_Inst_GetMeasureUnitInfo|IPXV_Inst::GetMeasureUnitInfo]], [[PXV:IPXV_Inst_SetupMeasureEditFilter|IPXV_Inst::SetupMeasureEditFilter]], [[PXV:IPXV_Inst_DispMeasureUnit|IPXV_Inst::DispMeasureUnit]], [[PXV:IPXV_PageSizeCtl_GetMeasureUnit|IPXV_PageSizeCtl::GetMeasureUnit]], [[PXV:IPXV_PageSizeCtl_Init|IPXV_PageSizeCtl::Init]] |
Latest revision as of 09:34, 23 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.
See Also
IPXV_Inst::FormatMeasureValue, IPXV_Inst::GetMeasureUnitInfo, IPXV_Inst::SetupMeasureEditFilter, IPXV_Inst::DispMeasureUnit, IPXV_PageSizeCtl::GetMeasureUnit, IPXV_PageSizeCtl::Init