AnnGetTag method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short AnnGetTag(long hObject);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Fills the pnTag parameter with 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 OnAnnCreate event is generated for each annotation object. You can add code in this event to see which tags are already used in a file.

Read the AnnTag property after calling this Method to get the Tag Object.

See Also

Elements:

AnnTag property

Topics

Annotations (Document/Medical only): Object Manipulation

 

Obtaining Annotation Object Information