ImageEn, unit iexLayers

TIELineLayer.LabelHorzMargin

TIELineLayer.LabelHorzMargin


Declaration

property LabelHorzMargin: Double;


Description

Increase the size of the label shape above and below the text. LabelHorzMargin is a percentage value (of the label size), so 0.10, sets 10% of the left and right as spacing (of the label size).

Note: LabelHorzMargin has no effect if the label shape is not visible.

Default: 0


Example

// Set label shape to circular with 10% spacing on all sides (i.e. making ellipse taller and wider)
TIELineLayer( ImageEnView1.CurrentLayer ).LabelShape := iesEllipse;
TIELineLayer( ImageEnView1.CurrentLayer ).LabelHorzMargin := 0.10;
TIELineLayer( ImageEnView1.CurrentLayer ).LabelVertMargin := 0.10;
ImageEnView1.Update();


See Also

LabelVertMargin
LabelShape
LabelPosition