ImageEn, unit imageenview |
|
TImageEnView.LayerEditingMode
Declaration
property LayerEditingMode: Boolean;
Description
Enable this property when the TImageEnView is being used to create images containing
layers.
It will enable the following layer editing features:
◼Layer drawing is used for all layers to ensure consistency (otherwise optimized drawing is used for layer 0 when there are no other layers)
◼LayersFastDrawing is used even for layer 0
◼Layer boxes are drawn for the selected layer even when
MouseInteractLayers does not include mlMoveLayers, mlResizeLayers or mlRotateLayers
◼ielDblClicked will occur for layer 0 in
OnLayerNotify and
OnLayerNotifyEx
◼Only attempts to navigate layers when
MouseWheelParams is iemwNavigate
Note: Even if LayerEditingMode = False, TImageEnView will automatically treat it as enabled if multiple layers are active
Default: False
// Enable layer editing
ImageEnView1.LayerEditingMode := True;