SetFormFieldFont
フォームフィールド
説明
指定したフォームフィールドで使用するフォントを設定します
構文
Delphi
Function TPDFlib.SetFormFieldFont(Index, FontIndex: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldFont(Index As Long, FontIndex As Long) As Long
DLL
int DLSetFormFieldFont(int InstanceID, int Index, int FontIndex);
パラメータ
| Index | 操作対象のフォームフィールドのインデックスです。最初のフォームフィールドのインデックスは 1 です |
|---|---|
| FontIndex | 使用するフォントのインデックス。フォーム内の最初のフォントは 1。利用可能なフォント数は GetFormFontCount で確認します |
戻り値
| 0 | フォントインデックスが不正、またはフォームフィールドが見つかりません |
|---|---|
| 1 | フォントが正常に設定されました |