win32gui.SetTextAlign

int = SetTextAlign(hdc, Mode )

Sets horizontal and vertical alignment for text in a device context

Parameters

hdc : PyHANDLE

Handle to a device context

Mode : int

Combination of win32con.TA_* constants

Return Value

Returns the previous alignment flags