CDC::SetTextAlign
Visual Studio 2010
Sets the text-alignment flags.
UINT SetTextAlign( UINT nFlags );
The TextOut and ExtTextOut member functions use these flags when positioning a string of text on a display or device. The flags specify the relationship between a specific point and a rectangle that bounds the text. The coordinates of this point are passed as parameters to the TextOut member function. The rectangle that bounds the text is formed by the adjacent character cells in the text string.