GetKerning
文字, 字型
描述
傳回指定字元配對的 kerning 量
語法
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 | 兩個字元的字串,內含組成 kerning 配對的字元,例如 "AW" |
|---|
傳回值
| kerning 配對間距的縮減量。與 Adobe Illustrator 這類繪圖軟體顯示的值相同。值 1000 等於文字高度。 |