ImageEn, unit iexLayers

TIELineLayer.LabelAlignment

TIELineLayer.LabelAlignment


Declaration

property LabelAlignment: TIEAlignment;


Description

Specifies the alignment of the text label.

Notes:
- iejJustify is unsupported for TIELineLayer
- If LabelPosition is ielpAbove, ielpBelow, ielpAutoAbove or ielpAutoBelow, LabelAlignment will be iejCenter

Default: iejCenter


Example

// Left-align the text for the label of the current line
TIELineLayer( ImageEnView1.CurrentLayer ).LabelAlignment := iejLeft;
ImageEnView1.Update();




See Also

- LabelFont
- LabelPosition
- LabelShape
- LabelText
- LabelHorzMargin
- LabelVertMargin