SetKerning
テキスト, フォント
説明
指定した文字ペアのカーニング量を設定します
構文
Delphi
Function TPDFlib.SetKerning(Const CharPair: WideString; Adjustment: Integer): Integer;
ActiveX
Function PDFlib::SetKerning(CharPair As String, Adjustment As Long) As Long
DLL
int DLSetKerning(int InstanceID, const wchar_t * CharPair, int Adjustment);
パラメータ
| CharPair | カーニングペアを構成する文字を含む 2 文字の文字列。例: "AW" |
|---|---|
| Adjustment | カーニングペア間の空白を減らす量。Adobe Illustrator などのグラフィックスプログラムに表示される値と同じです。値 1000 はテキストの高さと同じです |
戻り値
| 0 | カーニングを設定できませんでした。CharPair の長さが 2 文字でないか、フォントが選択されていません |
|---|---|
| 1 | 指定した文字ペアのカーニングが正常に設定されました |