SetFormFieldReadOnly
Form fields
Description
Sets the state of a field's ReadOnly flag.
The user cannot change the value of a form field if the ReadOnly flag is set.
Syntax
Delphi
function TPDFlib.SetFormFieldReadOnly(Index, ReadOnly: Integer): Integer;ActiveX
Function PDFlib::SetFormFieldReadOnly(Index As Long, ReadOnly As Long) As LongDLL
int DLSetFormFieldReadOnly(int InstanceID, int Index, int ReadOnly);Parameters
| Index | The index of the form field |
|---|---|
| ReadOnly | 0 = Clear the field's ReadOnly flag 1 = Set the field's ReadOnly flag |
Return values
| 0 | Could not find the specified form field |
|---|---|
| 1 | The ReadOnly flag was set successfully |