RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.TVerticalAlignment Enumeration

TVerticalAlignment specifies how text is vertically aligned within a control.

Pascal
TVerticalAlignment = (
  taAlignTop,
  taAlignBottom,
  taVerticalCenter
);
C++
enum TVerticalAlignment {
  taAlignTop,
  taAlignBottom,
  taVerticalCenter
};

The following are possible values of TVerticalAlignment:

Value 
Meaning 
taAlignTop  
Text is aligned to the top edge of the control.  
taAlignCenter  
Text is vertically centered in the control.  
taVerticalJustify  
Text is vertically-justified: Lines are spaced out to fill the height of the control.  

 

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