| ImageEn, unit imageenview |
|
TImageEnView.LayersDrawBox
Declaration
property LayersDrawBox: Boolean;
Description
Specify whether a box is displayed around layers (and grips on the corners of the selected layer).
This option has no effect if
Layers[].
VisibleBox is set to False.
If Layers[].VisibleBox is True and LayersDrawBox is False, a box is drawn only on the selected layer.
If Layers[].VisibleBox is True and LayersDrawBox is True, a box is drawn on all layers.
Default: False
Note:
◼You can customize the style of layer box using
SetLayersBoxStyle, or for more control,
OnDrawLayerBox
◼If LayersDrawBox is False, layer boxes are only drawn when
LayerEditingMode is enabled, or
MouseInteractLayers includes one of: mlMoveLayers, mlResizeLayers or mlRotateLayers
See Also
◼SetLayersBoxStyle
◼SetLayersGripStyle
◼TIELayer.VisibleBox
◼OnDrawLayerBox
◼OnDrawLayerGrip