AnnRulerUnit property (Annotation Control)
Builder Syntax |
unsigned AnnRulerUnit[unsigned uIndex] |
Delphi Syntax |
AnnRulerUnit [uIndex: L_UINT]: L_UINT |
Overview |
Refer to Implementing Annotations. |
Remarks
(Read only) Gets an array of values that represents the unit of measure for each ruler length in the AnnDistance 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 entry in AnnRulerUnit (i) is ANNUNIT_SMART_METRIC or ANNUNIT_SMART_ENGLISH, then the actual unit of measure for the ruler length in AnnDistance (i) can be found in AnnSmartUnit (i). If AnnRulerUnit (i) is not ANNUNIT_SMART_METRIC or ANNUNIT_SMART_ENGLISH, then both AnnRulerUnit (i) and AnnSmartUnit (i) contain the unit of measure.
See Also
Elements: |
AnnGetDistance2 method, AnnTotalDistance property, AnnTotalRulerUnit property, AnnTotalSmartUnit property, AnnDistance property, AnnSmartUnit property, AnnDistanceCount property |
Topics: |
|
|