The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_rotlab
Class: TRotLab
Declaration: property Alignment: TAlignment;

The Alignment property specifies how the label is aligned with respect to the reference point given by the properties PosX and PosY. Alignment can take the following values:

taLeftJustify Align text to the left side of the label
taCenter Center text in the label
taRightJustify Align text to the right side of the label

Hint: The Light Edition is restricted to taCenter.

Example: This property is used in the following example program (see for downloading the code): rotlabel

Last Update: 2012-Okt-20