ImageEn, unit iexLayers

TIETextLayer.BorderColor

TIETextLayer.BorderColor


Declaration


property BorderColor: TColor;


Description


The color of the frame around the text box.
To hide the text box frame set BorderColor to clNone or BorderWidth to 0.

Default: clNone


Example


// Add a text layer with a black border and a white fill
ImageEnView1.LayersAdd( ielkText );
TIETextLayer( ImageEnView1.CurrentLayer ).Text := 'Text in Yellow box';
TIETextLayer( ImageEnView1.CurrentLayer ).BorderColor := clBlack;
TIETextLayer( ImageEnView1.CurrentLayer ).BorderWidth := 1;
TIETextLayer( ImageEnView1.CurrentLayer ).FillColor := clWhite;
ImageEnView1.Update();




See Also


- TIELayer.BorderColor
- BorderWidth
- BorderShape
- HorzMargin
- VertMargin