Add a Layer type of Group
A TImageEnView can have multiple layers but they are all direct children of the TImageEnView. They can be 'grouped' but this is just a "I'm with him" grouping (same GroupID number), not an actual group structure. A layer cannot be part of (for example) an Annotation group which is in turn part of an ImageInfo group. You would have to use UserData or an external TreeList to maintain the structure and determine which Layers belong to which group and then manipulate them individually. Another problem with the single layer Layers is that the TImageEnLayerMView component will show all the separate parts of a structure as individual items in the list. (Layersmerge converts all layers to a bitmap so you can't edit or resize text, etc. after the merge)
So, I would like to suggest adding a new 'Group' type of layer that only contains other types, including other groups. This would allow true hierarchical control of layers without resorting to external TreeLists. Ideally the TImageEnLayerMView component should also show thumbnails of groups and be hierarchical to allow subgroups to be selected.
-
Yogi Yang commented
I totally agree with this.
Support for Group would be a killer feature as it would make it easy to manage and work with Layers.