SetFormFieldMaxLen
Form fields
Description
Sets the maximum number of characters that will be accepted for the specified text form field.
Syntax
Delphi
function TPDFlib.SetFormFieldMaxLen(Index, NewMaxLen: Integer): Integer;ActiveX
Function PDFlib::SetFormFieldMaxLen(Index As Long, NewMaxLen As Long) As LongDLL
int DLSetFormFieldMaxLen(int InstanceID, int Index, int NewMaxLen);Parameters
| Index | The index of the form field to work with. The first form field has an index of 1. |
|---|---|
| NewMaxLen | The new maximum length to use for the form field |
Return values
| 0 | The form field index was invalid The maximum length of the form field was set successfully |
|---|---|
| 1 |