AnnGetSelectList method (Annotation Control)
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 |
|
Topics |
|
|