ImageEn, unit iexLayers

TIELineLayer.LabelVertMargin

TIELineLayer.LabelVertMargin


Declaration

property LabelVertMargin: Double;


Description

Increase the size of the label shape to the left and right of the text. LabelVertMargin is a percentage value (of the label size), so 0.10, sets 10% of the top and bottom as spacing.

Note: LabelVertMargin 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

LabelHorzMargin
LabelShape
LabelPosition