SetKerning
Description
Sets the amount of kerning for the specified character pair.
Syntax
Delphi
function TQuickPDF0813.SetKerning(CharPair: WideString;
Adjustment: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SetKerning(CharPair As String,
Adjustment As Long) As Long
DLL
int QuickPDFSetKerning(int InstanceID, wchar_t * CharPair, int Adjustment)
Parameters
| CharPair | A two-character string containing the characters making the kerning pair, for example "AW" |
| Adjustment | The amount to reduce the space between the kerning pair 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. |
Return values
| 0 | The kerning could not be set. Either the CharPair was not 2 characters in length, or a font has not been selected. |
| 1 | The kerning for the specified pair of characters was set successfully |