SetFormFieldReadOnly
フォームフィールド
説明
フィールド's ReadOnly フラグの状態を設定します
ReadOnly フラグが設定されている場合、ユーザーはフォームフィールドの値を変更できません
構文
Delphi
Function TPDFlib.SetFormFieldReadOnly(Index, ReadOnly: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldReadOnly(Index As Long, ReadOnly As Long) As Long
DLL
int DLSetFormFieldReadOnly(int InstanceID, int Index, int ReadOnly);
パラメータ
| Index | フォームフィールドのインデックス |
|---|---|
| ReadOnly | 0 = フィールド'の ReadOnly フラグを解除 1 = フィールド'の ReadOnly フラグを設定 |
戻り値
| 0 | 指定したフォームフィールドが見つかりませんでした |
|---|---|
| 1 | ReadOnly フラグが正常に設定されました |