ImageEn, unit iexLayers

TIETextLayer.FillColor

TIETextLayer.FillColor


Declaration


property FillColor: TColor;


Description


The color of the text box.
To make the text box transparent set FillColor to clNone. If FillColor is different from FillColor2 it will be drawn as a gradient.

Note: A background color is required if rich text formatting is enabled. If FillColor is clNone, then a white background will be used.

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.FillColor
- FillColor2
- FillGradient
- FillOpacity
- HorzMargin
- VertMargin