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_htmllab
Class: THtmlLab
Declaration: property Alignment: TAlignment;

The Alignment property specifies how the text is aligned within the label area. 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

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

Last Update: 2012-Okt-20