Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CDC::SetTextCharacterExtra
Collapse the table of content
Expand the table of content

CDC::SetTextCharacterExtra

Sets the amount of intercharacter spacing.

int SetTextCharacterExtra( 
   int nCharExtra  
);

nCharExtra

Specifies the amount of extra space (in logical units) to be added to each character. If the current mapping mode is not MM_TEXT, nCharExtra is transformed and rounded to the nearest pixel.

The amount of the previous intercharacter spacing.

GDI adds this spacing to each character, including break characters, when it writes a line of text to the device context. The default value for the amount of intercharacter spacing is 0.

Header: afxwin.h

Show:
© 2015 Microsoft