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 LongDLL
int DLGetFormFieldMaxLen(int InstanceID, int Index);Parameters
| Index | The index of the form field to work with. The first form field has an index of 1. |
|---|
Return values
| 0 | The form field does not have a maximum length specified |
|---|---|
| Non-zero | The maximum length of the form field |