SetFormFieldTextSize
テキスト、フォームフィールド
説明
指定したフォームフィールド内のテキストサイズを設定します。値 0 は、使用可能な領域に収まるようフォームフィールドがテキストサイズを自動調整することを示します
構文
Delphi
Function TPDFlib.SetFormFieldTextSize(Index: Integer; NewTextSize: Double): Integer;
ActiveX
Function PDFlib::SetFormFieldTextSize(Index As Long, NewTextSize As Double) As Long
DLL
int DLSetFormFieldTextSize(int InstanceID, int Index, double NewTextSize);
パラメータ
| Index | 操作対象のフォームフィールドのインデックスです。最初のフォームフィールドのインデックスは 1 です |
|---|---|
| NewTextSize | フォームフィールド'の新しいフォントサイズ(ポイント) |
戻り値
| 0 | フォームフィールドが見つかりませんでした |
|---|---|
| 1 | フォームフィールドのフォントサイズが正常に設定されました |