TotalRulerUnit property (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Syntax

double TotalRulerUnit;

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 TotalDistance property. This property is updated by the AnnGetDistance2 method. Possible values are:

ANN_UNIT_INCHES

0

ANN_UNIT_FEET

1

ANN_UNIT_YARDS

2

ANN_UNIT_MICROMETERS

3

ANN_UNIT_MILLIMETERS

4

ANN_UNIT_CENTIMETERS

5

ANN_UNIT_METERS

6

ANN_UNIT_TWIPS

7

ANN_UNIT_POINTS

8

ANN_UNIT_PIXELS

9

ANN_UNIT_SMART_METRIC

10

ANN_UNIT_SMART_ENGLISH

11

If the TotalRulerUnit property is ANN_UNIT_SMART_METRIC or ANN_UNIT_SMART_ENGLISH, then the actual unit of measure can be found in the TotalSmartUnit property. If the TotalRulerUnit property is not ANN_UNIT_SMART_METRIC or ANN_UNIT_SMART_ENGLISH, then the TotalRulerUnit property contains the unit of measure.

See Also

Elements:

AnnGetDistance2 method, Distance property, TotalDistance property, TotalSmartUnit property, RulerUnit property, SmartUnit property, DistanceCount property

Topics:

Annotations (Document/Medical only): Object Manipulation

 

Using Rulers in Annotation Objects