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フォームフィールドのインデックス
ReadOnly0 = フィールド'の ReadOnly フラグを解除 1 = フィールド'の ReadOnly フラグを設定

戻り値

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