ImageEn, unit iexLayers

TIEImageLayer.BorderColor

TIEImageLayer.BorderColor


Declaration

property BorderColor: TColor;


Description

The color of the frame around the image.
By default, image layers do not show a border (i.e. BorderColor = clNone). Set a valid color for BorderColor to show a border.

Default: clNone


Example

// Add a thick pink border to the image layer
TIEImageLayer( ImageEnView1.CurrentLayer ).BorderColor := $008000FF;
TIEImageLayer( ImageEnView1.CurrentLayer ).BorderWidth := 3;
ImageEnView1.Update();



See Also

TIELayer.BorderColor
BorderWidth