GetTextCharacterExtra

Syntax

int GetTextCharacterExtra(hDC)

This function retrieves the current intercharacter spacing. The intercharacter spacing defines the extra space (in logical units) that the TextOut or ExtTextOut functions add to each character as they write a line. The spacing is used to expand lines of text.

If the current mapping mode is not MM_TEXT, the GetTextCharacterExtra function transforms and rounds the result to the nearest unit.

Parameter Type/Description  

hDC HDC Identifies the device context.  

Return Value

The return value specifies the current intercharacter spacing.