(int, PyRECT) = DrawText(hDC, String
, nCount
, Rect
, Format
)
Draws formatted text on a device context
Parameters
hDC : int/PyHANDLE
The device context on which to drawString : str
The text to be drawnnCount : int
The number of characters, use -1 for simple null-terminated stringRect : PyRECT
Tuple of 4 ints specifying the position (left, top, right, bottom)Format : int
Formatting flags, combination of win32con.DT_* valuesReturn Value
Returns the height of the drawn text, and the rectangle coordinates