SetTextCharacterExtra (Windows Embedded CE 6.0)
1/6/2010
This function sets the intercharacter spacing. Intercharacter spacing is added to each character, including break characters, when the system writes a line of text.
Syntax
int SetTextCharacterExtra(
HDC hdc, // handle to DC
int nCharExtra // extra-space value
);
Parameters
- hdc
[in] Handle to the device context.
- nCharExtra
[in] Specifies the amount of extra space, in logical units, to be added to each character. If the current mapping mode is not MM_TEXT, the nCharExtra parameter is transformed and rounded to the nearest pixel.
Return Value
If the function succeeds, the return value is the previous intercharacter spacing.
If the function fails, the return value is 0x80000000.
Requirements
Header | wingdi.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 5.0 and later |
See Also
Reference
ExtTextOut
GetTextCharacterExtra