AnnGetDistance method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

float AnnGetDistance(long hObject);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Gets the distance of the ruler in the specified annotation object. The unit of measure is set by calling the AnnSetUnit method.

This method can be called for ANN_OBJECT_RULER, ANN_OBJECT_CROSSPRODUCT, ANN_OBJECT_PROTRACTOR and ANN_OBJECT_POLYRULER types of annotation objects. However, please note the following:

To determine the type of an annotation object, call the AnnGetType method.

See Also

Elements:

AnnGetFillModeExt method, AnnSetFillModeExt method, AnnFillMode property, AnnAlpha property, AnnSetOptions method, AnnGetOptions method, AnnSetTextOptions method, AnnGetTextOptions method, AnnShowText property, AnnShowBorder property, AnnTextColor property, AnnAutoSnapCursor property, AnnTextEdit method, AnnShowRotateHandles property, AnnGetRotateOptions method, AnnSetRotateOptions method, AnnCalibrateRuler method, AnnSetBitmapDpiX method, AnnGetBitmapDpiX method, AnnGetBitmapDpiY method, AnnSetBitmapDpiY method, AnnSetUnit method, AnnGetUnit method, AnnSetGaugeLength method, AnnGetGaugeLength method, AnnDistance property

Topics:

Annotations (Document/Medical only): Object Manipulation

 

Using Rulers in Annotation Objects

 

New Annotation Features of Version 14.5

 

Calibrating Annotation Ruler Objects