AnnGetType method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnGetType(LEADTyp::L_HANDLE hObject);

Delphi Syntax

Function AnnGetType(hObject: L_HANDLE): integer;

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Returns a value that identifies the type of annotation object.

The following are the possible values:

Value

Meaning

ANNOBJECT_CONTAINER

Container object

ANNOBJECT_LINE

Line

ANNOBJECT_RECT

Rectangle

ANNOBJECT_ELLIPSE

Ellipse

ANNOBJECT_POLYLINE

Polyline

ANNOBJECT_POLYGON

Polygon

ANNOBJECT_POINTER

Pointer

ANNOBJECT_FREEHAND

Freehand Line

ANNOBJECT_HILITE

Highlight

ANNOBJECT_REDACT

Redaction

ANNOBJECT_TEXT

Text

ANNOBJECT_NOTE

Note

ANNOBJECT_STAMP

Stamp

ANNOBJECT_HOTSPOT

Hot spot

ANNOBJECT_BUTTON

Button

ANNOBJECT_AUDIO

Audio Clip

ANNOBJECT_RULER

Ruler Tool

ANNOBJECT_CROSSPRODUCT

Cross product Tool

ANNOBJECT_POINT

Point Tool

ANNOBJECT_PROTRACTOR

Protractor Tool

ANNOBJECT_PUSHPIN

PushPin Tool

ANNOBJECT_FREEHANDHOTSPOT

Freehand Hot Spot Tool

See Also

Elements:

AnnTool property

Topics:

Annotations (Document/Medical only): Automation