SetFormFieldRequired

フォームフィールド

説明

フィールド'の is Required フラグの状態を設定します

このフラグが設定されている場合、submit-form アクションでフォームをエクスポートするときにフィールド値が必要です

構文

Delphi

Function TPDFlib.SetFormFieldRequired(Index, Required: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldRequired(Index As Long, Required As Long) As Long

DLL

int DLSetFormFieldRequired(int InstanceID, int Index, int Required);

パラメータ

Indexフォームフィールドのインデックス
Required0 = フィールド's Required フラグを解除、1 = フィールド's Required フラグを設定

戻り値

0指定したフォームフィールドが見つかりませんでした。Required フラグは正常に設定されました
1