AnnGetSelectList method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

void AnnGetSelectList (LEADTyp::L_PHANDLE phObjects);

Delphi Syntax

Procedure AnnGetSelectList (phObjects: L_PHANDLE);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Gets an array of object handles for the currently selected annotation objects.

Before calling this method, call the AnnGetSelectCount method to get the number of currently selected annotation objects, and use this number to allocate memory as shown below:

nNumberOfSlectedItems = AnnGetSelectCount method ();

phObjects = AllocMem (nNumberOfSlectedItems * sizeof ( L_HANDLE )) ;
AnnGetSelectList(phObjects);
.
.
FreeMem(phObjects);

To get each handle in this array of handles, call the AnnGetItemHandle method.

See Also

Elements

AnnGetSelectCount method, OnAnnSelect event

Topics

Annotations (Document/Medical only): Automation

 

Displaying and Manipulating Annotation Objects