ImageEn, unit iexLayers

TIETextLayer.BorderWidth

TIETextLayer.BorderWidth


Declaration


property BorderWidth: Integer;


Description


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

Default: 1


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.BorderWidth
- BorderColor
- BorderShape
- HorzMargin
- VertMargin