TE Edit Control Win32 / Win64 Help
Product page

TerSetFontSpace

Adjust the character spacing for a font id.

BOOL TerSetFontSpace(hWnd, FontId, delta, repaint)
HWND hWnd;The handle of the window to be accessed
int FontId;FontId (0 to TotalFonts-1) to modify. Set to 0 to modify the default font.
int delta;Amount of adjustment in twips. Set to a positive value to expand the character spacing or a negative value to compress the character spacing.
BOOL repaint;Repaint the screen after this operation

Return Value: This function returns TRUE when successful.