AnnGetType method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax short AnnGetType (OLE_HANDLE hObject);

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_VIDEO

Video Tool

ANNOBJECT_PUSHPIN

PushPin Tool

ANNOBJECT_FREEHANDHOTSPOT

Freehand Hot Spot Tool

See Also

Elements:  AnnTool property

Topics:  Annotations (Document/Medical only): Automation