TImageEnVect.GroupObjects
Declaration
procedure GroupObjects(bSelectedOnly: Boolean = True);
Description
Sets the
group index of objects so they selected as a group (selecting one object of the group will select all of them).
If
bSelectedOnly is true, grouping only affects objects that are selected. If false, it applies to all layers.
// Add all selected objects to a group
ImageEnVect1.GroupObjects();
See Also
◼UngroupObjects
◼ObjGroupIndex
Transition Information
If you are transitioning your code to
TImageEnView Layers, instead of GroupObjects, use:
TImageEnView.LayersGroup
ImageEnView1.LayersGroup();