Function Reference


Sets the intercharacter spacing for the specified device context

#include <WinAPIGdi.au3>
_WinAPI_SetTextCharacterExtra ( $hDC, $iCharExtra )


$hDC Handle to the device context.
$iCharExtra The amount of extra space, in logical units, to be added to each character.

Return Value

Success: The previous intercharacter spacing.
Failure: (-1).


This function is supported mainly for compatibility with existing applications?

The recommended approach is that instead of calling this function and then TextOut,
applications should call ExtTextOut and use its lpDx parameter to supply widths.

See Also

Search SetTextCharacterExtra in MSDN Library.