SetFormFieldReadOnly

Campos de formulário

Descrição

Define o estado da flag ReadOnly de um campo

O usuário não pode alterar o valor de um campo de formulário se o flag ReadOnly estiver definido

Sintaxe

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);

Parâmetros

IndexThe index of the form field
ReadOnly0 = Clear the field's ReadOnly flag 1 = Set the field's ReadOnly flag

Valores retornados

0Could not find the specified form field
1The ReadOnly flag was set successfully