Distance property (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Syntax

double Distance (long Index);

Overview

Refer to Implementing Annotations.

Remarks

(Read Only) Gets an array of values that represents the length of each ruler contained in the annotation object specified in the AnnGetDistance2 method.

To determine the unit of measure for each ruler, check the RulerUnit property and the SmartUnit property.

If the entry in RulerUnit (i) is ANN_UNIT_SMART_METRIC or ANN_UNIT_SMART_ENGLISH, then the actual unit of measure can be found in SmartUnit(i). If RulerUnit (i) is not ANN_UNIT_SMART_METRIC or ANN_UNIT_SMART_ENGLISH, then both RulerUnit (i) and SmartUnit (i) contain the unit of measure.

See Also

Elements:

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

Topics:

Annotations (Document/Medical only): Object Manipulation

 

Using Rulers in Annotation Objects