GetTextCharacterExtra (Windows Embedded CE 6.0)

1/6/2010

This function retrieves the current intercharacter spacing for the specified device context.

Syntax

int GetTextCharacterExtra(
  HDC hdc
);

Parameters

  • hdc
    [in] Handle to the device context.

Return Value

If the function succeeds, the return value is the current intercharacter spacing, in logical coordinates.

If the function fails, the return value is 0x8000000.

Remarks

The intercharacter spacing defines the extra space, in logical units along the base line, that the ExtTextOut functions add to each character as a line is written. The spacing is used to expand lines of text.

Requirements

Header wingdi.h
Library coredll.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

ExtTextOut
SetTextCharacterExtra

Other Resources

Fonts Functions