GetKerning

文本, 字体

描述

返回指定字符对的字距调整量

语法

Delphi

Function TPDFlib.GetKerning(Const CharPair: WideString): Integer;

ActiveX

Function PDFlib::GetKerning(CharPair As String) As Long

DLL

int DLGetKerning(int InstanceID, const wchar_t * CharPair);

参数

CharPair包含组成字偶距对的字符的两个字符字符串,例如 "AW"

返回值

字距调整对中间距的缩减量。这与 Adobe Illustrator 等图形程序中显示的值相同。值为 1000 时等于文本高度