ImageGear Professional v18.2 > User Guide > Using ImageGear > Using ImageGear ART Component > Operating with ART Marks > Mark Groups |
IGArtPage Object provides a facility called "mark groups" (or just "groups", for short) that provides a powerful mechanism for implementing application features. Every mark belongs to one and only one group; by default all marks belong to a group named "(Untitled)". Your application can create as many groups as needed - each group is simply given a unique character string name. IGArtPage Object provides a set of methods that manipulate all of the marks in a group (hide them all, make them all visible, etc.). Your application could use groups to provide annotation layers (each "layer" would simply be a group), so that the user could choose which layer, and thus which set of annotations, to view. Alternatively, your application could use groups to provide private annotations (each person would only be able to see "their" annotations).
The various methods that operate on groups are as follows::
GroupAccess Method | Set access to allow edit or read-only |
GroupBringToFront Method | Bring group of marks to the top of the ZOrder |
GroupDelete Method | Delete all of the marks in the group |
GroupEditCopy Method | Copy all of the marks in the group to the clipboard |
GroupEditCut Method | Cut all of the marks in the group to the clipboard |
GroupSelect Method | Select all of the marks in the group |
GroupSendToBack Method | Send group of marks to the bottom of the ZOrder |
GroupVisible Method | Make all marks in group visible or invisible |