ExtTextOut(int, int, int, rect, string, tuple)

Writes text to the DC.


int : x

The x coordinate to write the text to.

int : y

The y coordinate to write the text to.

int : nOptions

Specifies the rectangle type. This parameter can be one, both, or neither of ETO_CLIPPED and ETO_OPAQUE

rect : (left, top, right, bottom)

Specifies the text's bounding rectangle. (Can be None.)

string : text

The text to write.

tuple : (width1, width2, ...)

Optional array of values that indicate distance between origins of character cells.

MFC References


Return Value

Always none. If the function fails, an exception is raised.