Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CDC::SetTextCharacterExtra
CDC                                         Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int SetTextCharacterExtra( int nCharExtra );
 
  Parameter    Description
 
  <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.
 
  Remarks
 
  Sets the amount of intercharacter spacing. GDI adds this spacing to each
  character, including break characters, when it writes a line of text to
  the device context.
 
  Return Value
 
  The amount of the previous intercharacter spacing.
 
  See Also
 
  CDC::GetTextCharacterExtra, ::SetTextCharacterExtra
 
 
                                     -♦-