Debenu Quick PDF logo

GetKerning

Text, Fonts

Description

Returns the amount of kerning for the specified character pair.

Syntax

Delphi

function TDebenuPDFLibrary1511.GetKerning(CharPair: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::GetKerning(CharPair As String) As Long

DLL

int DPLGetKerning(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.

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport