Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32gui
>
SetTextAlign
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