ImageEn, unit ievect

TImageEnVect.UngroupObjects

TImageEnVect.UngroupObjects

Declaration

procedure UngroupObjects(bSelectedOnly: Boolean = True);

Description

Resets the group index of objects so they are not selected as a group.
If bSelectedOnly is true, grouping only affects objects that are selected. If false, it applies to all layers.

Example

// Remove grouping from selected objects
ImageEnVect1.UngroupObjects();
// Unselect the objects
ImageEnVect1.UnSelAllObjects();

See Also

GroupObjects
ObjGroupIndex

Transition Information

If you are transitioning your code to TImageEnView Layers, instead of UngroupObjects, use: TImageEnView.LayersUngroup
ImageEnView1.LayersUngroup();