Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 918 Bytes

GetTextCharacterExtra.md

File metadata and controls

42 lines (28 loc) · 918 Bytes

Home

Function name : GetTextCharacterExtra

Group: Font and Text - Library: gdi32


The GetTextCharacterExtra function retrieves the current intercharacter spacing for the specified device context.


Code examples:

Using Font and Text functions

Declaration:

int GetTextCharacterExtra(
  HDC hdc   // handle to DC
);  

FoxPro declaration:

DECLARE INTEGER GetTextCharacterExtra IN gdi32;
	INTEGER 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.