AnnDistance property (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

double AnnDistance[unsigned uIndex]

Delphi Syntax

AnnDistance [uIndex: L_UINT]: L_DOUBLE

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 AnnRulerUnit property and the AnnSmartUnit property.

If the entry in AnnRulerUnit (i) is ANNUNIT_SMART_METRIC or ANNUNIT_SMART_ENGLISH, then the actual unit of measure 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, AnnRulerUnit property, AnnSmartUnit property, AnnDistanceCount property

Topics:

Annotations: Object Manipulation