GetFormFieldReadOnly

Form fields

Description

Returns 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.GetFormFieldReadOnly(Index: Integer): Integer;

ActiveX

Function PDFlib::GetFormFieldReadOnly(Index As Long) As Long

DLL

int DLGetFormFieldReadOnly(int InstanceID, int Index);

Parameters

IndexThe index of the form field

Return values

0The field's ReadOnly flag is not set
1The field's ReadOnly flag is set