ImageEn, unit iexLayers
TIELayer.LayerIndex
TIELayer
.LayerIndex
Declaration
property LayerIndex: integer;
Description
Returns the index of this layer inside the
Layers
list. Returns -1 if not found.
An index of zero means this is the background layer (always an image). An index of
LayersCount
-1 would be the frontmost layer.
Example
// Move the current layer to pos 1 (first layer after the background layer
ImageEnView1.CurrentLayer.LayerIndex := 1;
// Which is the same as:
ImageEnView1.LayersArrange( ImageEnView1.LayersCurrent, 1 );
See Also
◼
LayersArrange
Loading contents...