static unsigned SetTextAlignment(Handle Device, unsigned Alignment)
This function sets the alignment of text.
The handle of the device context.
A selection of flags from the enumeration TextAlignment.
The previous alignment flags.
use the setting of the text alignment to define the relationship of the reference point to the bounding rectangle of the text. The bounding rectangle is formed as the union of the individual character boxes. The bounding rectangle may be queried via a call to the function GetTextExtent.
The text reference point: