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フォントが正常に設定されました