AnnTotalRulerUnit property (Annotation Control)
Builder Syntax |
int AnnTotalRulerUnit |
Delphi Syntax |
AnnTotalRulerUnit: L_INT |
Overview |
Refer to Implementing Annotations. |
Remarks
(Read Only) Gets a value that indicates the unit of measure for the total length of all rulers, found in the AnnTotalDistance property. This property is updated by the AnnGetDistance2 method. Possible values are:
ANNUNIT_INCHES |
0 |
ANNUNIT_FEET |
1 |
ANNUNIT_YARDS |
2 |
ANNUNIT_MICROMETERS |
3 |
ANNUNIT_MILLIMETERS |
4 |
ANNUNIT_CENTIMETERS |
5 |
ANNUNIT_METERS |
6 |
ANNUNIT_TWIPS |
7 |
ANNUNIT_POINTS |
8 |
ANNUNIT_PIXELS |
9 |
ANNUNIT_SMART_METRIC |
10 |
ANNUNIT_SMART_ENGLISH |
11 |
If the AnnTotalRulerUnit property is ANNUNIT_SMART_METRIC or ANNUNIT_SMART_ENGLISH, then the actual unit of measure can be found in the AnnTotalSmartUnit property. If the AnnTotalRulerUnit property is not ANNUNIT_SMART_METRIC or ANNUNIT_SMART_ENGLISH, then the AnnTotalRulerUnit property contains the unit of measure.
See Also
Elements: |
AnnGetDistance2 method, AnnDistance property, AnnTotalDistance property, AnnTotalSmartUnit property, AnnRulerUnit property, AnnSmartUnit property, AnnDistanceCount property |
Topics: |
|
|