DRAWTEXTPARAMS structure (winuser.h)
The DRAWTEXTPARAMS structure contains extended formatting options for the DrawTextEx function.
typedef struct tagDRAWTEXTPARAMS {
UINT cbSize;
int iTabLength;
int iLeftMargin;
int iRightMargin;
UINT uiLengthDrawn;
} DRAWTEXTPARAMS, *LPDRAWTEXTPARAMS;
cbSize
The structure size, in bytes.
iTabLength
The size of each tab stop, in units equal to the average character width.
iLeftMargin
The left margin, in units equal to the average character width.
iRightMargin
The right margin, in units equal to the average character width.
uiLengthDrawn
Receives the number of characters processed by DrawTextEx, including white-space characters. The number can be the length of the string or the index of the first line that falls below the drawing area. Note that DrawTextEx always processes the entire string if the DT_NOCLIP formatting flag is specified.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | winuser.h (include Windows.h) |