ImageEn, unit iexLayers

TIETextLayer.VertMargin

TIETextLayer.VertMargin


Declaration

property VertMargin: Double;


Description

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

Note: VertMargin has no effect if the border shape is not visible.

Default: 0


Example

// Set shape to circular with 10% spacing on all sides (i.e. making ellipse taller and wider)
TIETextLayer( ImageEnView1.CurrentLayer ).BorderShape := iesEllipse;
TIETextLayer( ImageEnView1.CurrentLayer ).HorzMargin := 0.10;
TIETextLayer( ImageEnView1.CurrentLayer ).VertMargin := 0.10;
ImageEnView1.Update();


See Also

- HorzMargin
- AutoSize