AnnGetTag method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnGetTag(LEADTyp::L_HANDLE hObject);

Delphi Syntax

Function AnnGetTag(hObject: L_HANDLE): longint;

Overview

Refer to Implementing Annotations.

Remarks

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

The AnnSetTag method and the AnnGetTag method can be used to keep track of particular objects such as buttons or hot spots over time.

When a file is loaded, an OnAnnCreate event is generated for each annotation object. Add code to this event to see which tags are already used in a file.

See Also

Topics:

Annotations (Document/Medical only): Object Manipulation