AnnGetRgnHandle method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax OLE_HANDLE AnnGetRgnHandle(OLE_HANDLE hObject);

Overview:  Refer to Implementing Annotations.

Remarks

(Document/Medical only) Creates a region from the specified annotation object and retrieves a handle to that region.

Regions can be created from the following annotation objects:

ANNOBJECT_FREEHAND
ANNOBJECT_POLYLINE
ANNOBJECT_POLYGON
ANNOBJECT_RECT
ANNOBJECT_ELLIPSE
ANNOBJECT_FREEHANDHOTSPOT
ANNOBJECT_HOTSPOT
ANNOBJECT_STAMP
ANNOBJECT_NOTE
ANNOBJECT_TEXT
ANNOBJECT_HILITE
ANNOBJECT_BUTTON
ANNOBJECT_REDACT

See Also

Elements:  AnnGetArea method

Topics:  Annotations (Document/Medical only): Object Manipulation