ImageGear Professional v18.2 > User Guide > Using ImageGear > Using ImageGear ARTX Component > Working with ART Marks > Mark Groups |
IGArtXPage 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 with index 0 and named "[Untitled]".
Your application can create as many groups as needed, each group is simply given a unique index. IGArtXPage Object provides a set of methods that manipulates 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 provided by IGArtXGroup Object.