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