property   HAlignment:TAlignment


Determines how the text is horizontal aligned within the outer rectangle.

Use Alignment to change the way the text is formatted by the TMyText control. Alignment can take one of the following values:

Value                Meaning

taLeftJustify                Text is left-justified: Lines all begin at the left edge of the control.

taCenter                Text is centered in the control.

taRightJustify                Text is right-justified: Lines all end at the right edge of the control.

See also: