AnnGroup method (Main Control)
Visual Basic
example
Visual
C++ 4.0 example
Syntax short AnnGroup (OLE_HANDLE hObject, short iFlags, BSTR pUserList);
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, NULL).
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 you include ANNFLAG_SELECTED|ANNFLAG_USER, for example, in iFlags, the grouped objects must have a user in pUserList AND must also be selected.
See Also
Elements: AnnUngroup method, AnnGetgrouping method, AnnSetGrouping method
Topics: Annotations (Document/Medical only): Object Manipulation