GetKerning
Text, Fonts
Description
Returns the amount of kerning for the specified character pair.
Syntax
Delphi
function TPDFlib.GetKerning(Const CharPair: WideString): Integer;ActiveX
Function PDFlib::GetKerning(CharPair As String) As LongDLL
int DLGetKerning(int InstanceID, wchar_t * 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. |