The GetTextCharacterExtra function retrieves the current intercharacter spacing for the specified device context.
int GetTextCharacterExtra(
HDC hdc |
// handle of device context |
); |
If the function succeeds, the return value is the current intercharacter spacing.
If the function fails, the return value is 0x8000000. To get extended error information, call GetLastError.
The intercharacter spacing defines the extra space, in logical units along the base line, that the TextOut or ExtTextOut functions add to each character as a line is written. The spacing is used to expand lines of text.