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 | フォームフィールドのインデックス |
|---|---|
| Required | 0 = フィールド's Required フラグを解除、1 = フィールド's Required フラグを設定 |
戻り値
| 0 | 指定したフォームフィールドが見つかりませんでした。Required フラグは正常に設定されました |
|---|---|
| 1 |