AnnGetTag method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax long AnnGetTag (OLE_HANDLE hObject);

Overview:  Refer to Implementing Annotations.

Remarks

(Document/Medical only) Returns the numeric tag that you assigned to the specified annotation object using the AnnSetTag method.

You can use these two methods to keep track of particular objects such as buttons or hot spots over time.

When you load a file, an AnnCreate event is generated for each annotation object. You can add code in this event to see which tags are already used in a file.

See Also

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