GetTextCharacterExtra

2.x

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

The GetTextCharacterExtra function retrieves the current setting for the amount of intercharacter spacing. Graphics device interface (GDI) adds this spacing to each character, including break characters, when it writes a line of text to the device context.

Parameters

hdc

Identifies the device context.

Return Value

The return value specifies the amount of intercharacter spacing if the function is successful.

Comments

The default value for the amount of intercharacter spacing is zero.

See Also

SetTextCharacterExtra