ImageEn, unit iexLayers

TIELineLayer.LabelBorderColor

TIELineLayer.LabelBorderColor


Declaration


property LabelBorderColor: TColor;


Description


The color of the frame around the text label.
To hide the border set BorderColor to clNone or LabelBorderWidth to 0.

Note: The label does not have a border if LabelPosition is ielpAbove, ielpBelow, ielpAutoAbove or ielpAutoBelow

Default: clBlack


Example


// Add text label to our arrow (with black border and gradient fill)
TIELineLayer( ImageEnView1.CurrentLayer ).LabelPosition := ielpAtEnd;
TIELineLayer(ImageEnView1.CurrentLayer).LabelFillColor := clRed;
TIELineLayer(ImageEnView1.CurrentLayer).LabelFillColor2 := clYellow;
TIELineLayer(ImageEnView1.CurrentLayer).LabelFillGradient := grdHorizontal;
TIELineLayer(ImageEnView1.CurrentLayer).LabelBorderColor := clBlack;
TIELineLayer(ImageEnView1.CurrentLayer).LabelBorderWidth := 3;
ImageEnView1.Update();




See Also


- TIELayer.BorderColor
- LabelBorderWidth
- LineWidth