DRAWTEXTPARAMS
The DRAWTEXTPARAMS
structure contains extended formatting options for the DrawTextEx
typedef struct {
UINT
cbSize;
int iTabLength;
int iLeftMargin;
int iRightMargin;
UINT
uiLengthDrawn;
} DRAWTEXTPARAMS, FAR *LPDRAWTEXTPARAMS;
Members
cbSize
Specifies the
structure size, in bytes.
iTabLength
Specifies the
size of each tab stop, in units equal to the average character width.
iLeftMargin
Specifies the
left margin, in units equal to the average character width.
iRightMargin
Specifies 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.
See Also