ImageEn, unit imageenview

TImageEnView.SetLayersBoxStyle

TImageEnView.SetLayersBoxStyle


Declaration

procedure SetLayersBoxStyle(PenStyle: TPenStyle = psDot; PenMode: TPenMode = pmNot; PenWidth: Integer = 1; PenColor: TColor = clBlack);


Description

Specifies the style of layer box border, if LayersDrawBox is enabled.

For more control, use OnDrawLayerBox


Example

// Hide the layer box (while maintaining the selection grips)
ImageEnView1.SetLayersBoxStyle( psClear );
ImageEnView1.Update();


See Also

SetLayersGripStyle
LayersDrawBox
TIELayer.VisibleBox
OnDrawLayerBox
OnDrawLayerGrip