ImageEn, unit iexLayers

TIETextLayer.Alignment

TIETextLayer.Alignment


Declaration


property Alignment: TIEAlignment;


Description


Specifies the text alignment.

Notes:
- iejJustify is unsupported for TIETextLayers
- iejCenter is recommended when BorderShape is not iesRectangle or iesRoundRect

Note: This property is not used if rich text formatting is enabled

Default: iejLeft


Example


// Center the text for the current text layer
TIETextLayer( ImageEnView1.CurrentLayer ).Alignment := iejCenter;
ImageEnView1.Update();




See Also


- Layout