GetFormFieldMaxLen

Form fields

Description

Retrieves the maximum allowed length for a text form field.

Syntax

Delphi

function TPDFlib.GetFormFieldMaxLen(Index: Integer): Integer;

ActiveX

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

DLL

int DLGetFormFieldMaxLen(int InstanceID, int Index);

Parameters

IndexThe index of the form field to work with. The first form field has an index of 1.

Return values

0The form field does not have a maximum length specified
Non-zeroThe maximum length of the form field