ImageEn, unit imageenview

TImageEnView.LayersUngroup

TImageEnView.LayersUngroup


Declaration

procedure LayersUngroup(bSelectedOnly: Boolean = True);


Description

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

Note: LayersGroup has no effect if multiple layer selection is not enabled


Example

// Remove grouping from selected layers
ImageEnView1.LayersUngroup();
// Deselect the layers
ImageEnView1.LayersDeselectAll();


See Also

LayersGroup
GroupIndex