Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DRAWTEXTPARAMS structure

The DRAWTEXTPARAMS structure contains extended formatting options for the DrawTextEx function.

Syntax


typedef struct {
  UINT cbSize;
  int  iTabLength;
  int  iLeftMargin;
  int  iRightMargin;
  UINT uiLengthDrawn;
} DRAWTEXTPARAMS, *LPDRAWTEXTPARAMS;

Members

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Fonts and Text Overview
Font and Text Structures
DrawTextEx

 

 

Community Additions

Show:
© 2015 Microsoft