GetKerningA
Text, Fonts
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetKerning and string arguments are interpreted using the current SetAnsiMode code page
Returns the amount of kerning for the specified character pair.
Syntax
Delphi
Function DLGetKerningA(InstanceID: Integer; CharPair: PAnsiChar): Integer;
DLL
int DLGetKerningA(int InstanceID, const char * CharPair);
Parameters
| CharPair | A two-character string containing the characters making the kerning pair, for example "AW" |
|---|
Return values
| The amount the space between the kerning pair will be reduced by. This is the same value as shown in graphics programs such as Adobe Illustrator. A value of 1000 is the same as the height of the text. |