RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TLabel.Alignment Property

Controls the horizontal placement of the text within the label.

Pascal
property Alignment: TAlignment;
C++
__property TAlignment Alignment;

Set Alignment to specify how the text of the label is justified within the ClientRect of the label control. 

The effect of the Alignment property is more obvious if the WordWrap property is true and the label includes more than one line of text. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!