AnnGroup method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnGroup(LEADTyp::L_HANDLE hObject, int iFlags, char * pszUserList);

Delphi Syntax

Function AnnGroup(hObject: L_HANDLE; iFlags: Integer; pszUserList: PChar): Integer;

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Groups a number of objects within a container.

The Group automation menu item operates like AnnGroup(hObject, ANNFLAG_RECURSE+ANNFLAG_SELECTED+ANNFLAG_CHECKMENU, nil).

If ANNFLAG_USER is included in iFlags, any user associated with an object to be "grouped" must be included in pUserList. The method checks pUserList before grouping the objects and any object that has a user not in pUserList will not be included in the group.

If ANNFLAG_USER is not included in iFlags, the user list is ignored.

Please note that if ANNFLAG_SELECTED+ANNFLAG_USER, for example, is included in iFlags, the grouped objects must have a user in pUserList AND must be selected.

See Also

Elements

AnnUngroup method

Topics

Annotations (Document/Medical only): Object Manipulation

 

Displaying and Manipulating Annotation Objects