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カーニングペアを構成する文字を含む 2 文字の文字列。例: "AW"

戻り値

カーニングペア間の空きを縮小する量。Adobe Illustrator などのグラフィックスプログラムに表示される値と同じで、1000 はテキストの高さと同じです