ImageEn, unit iexLayers

TIELineLayer.LabelBorderWidth

TIELineLayer.LabelBorderWidth


Declaration

property LabelBorderWidth: Integer;


Description

The width of the frame around the text label.
To hide the border, set LabelBorderColor to clNone or LabelBorderWidth to 0.

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

Default: 1


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 := gpgHorizontal;
TIELineLayer(ImageEnView1.CurrentLayer).LabelBorderColor  := clBlack;
TIELineLayer(ImageEnView1.CurrentLayer).LabelBorderWidth  := 3;
ImageEnView1.Update();




See Also

TIELayer.BorderWidth
LabelBorderColor
LineColor
LabelHorzMargin
LabelVertMargin