SetFormFieldMaxLen

Campos de formulário

Descrição

Define o número máximo de caracteres que será aceito para o campo de formulário de texto especificado

Sintaxe

Delphi

Function TPDFlib.SetFormFieldMaxLen(Index, NewMaxLen: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldMaxLen(Index As Long, NewMaxLen As Long) As Long

DLL

int DLSetFormFieldMaxLen(int InstanceID, int Index, int NewMaxLen);

Parâmetros

IndexThe index of the form field to work with. The first form field has an index of 1.
NewMaxLenThe new maximum length to use for the form field

Valores retornados

0The form field index was invalid The maximum length of the form field was set successfully
1