ImageEn, unit imageenview

TImageEnView.LayersGroup

TImageEnView.LayersGroup


Declaration


procedure LayersGroup(bSelectedOnly: Boolean = True);


Description


Sets the group index of layers so they selected as a group (selecting one layer of the group will select all of them).
If bSelectedOnly is true, grouping 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


// Add all selected layers to a group
ImageEnView1.LayersGroup();


See Also


- LayersUngroup
- GroupIndex