GetKerningA
文本, 字体
描述
末尾的 A 表示 ANSI(char)DLL 入口点,ActiveX/COM 接口仅公开 Unicode 形式,行为与 GetKerning 相同,字符串参数会使用当前 SetAnsiMode 代码页解释
返回指定字符对的字距调整量
语法
Delphi
Function DLGetKerningA(InstanceID: Integer; CharPair: PAnsiChar): Integer;
DLL
int DLGetKerningA(int InstanceID, const char * CharPair);
参数
| CharPair | 包含组成字偶距对的字符的两个字符字符串,例如 "AW" |
|---|
返回值
| 字距调整对中间距的缩减量。这与 Adobe Illustrator 等图形程序中显示的值相同。值为 1000 时等于文本高度 |