GetTextCharacterExtra

  int GetTextCharacterExtra(hdc)    
  HDC hdc; /* device-context handle */

The GetTextCharacterExtra function retrieves the current intercharacter spacing. The intercharacter spacing defines the extra space, in logical units along the baseline, that the TextOut or ExtTextOut functions add to each character as a line is written. The spacing is used to expand lines of text.

Parameters

hdc

Identifies the device context.

Return Value

The return value specifies the current intercharacter spacing. Upon error, the return value is INVALID_WIDTH.

See Also

ExtTextOut, TextOut