Quick PDF logo

SetFormFieldMaxLen

Form fields

Description

Sets the maximum number of characters that will be accepted for the specified text form field.

Syntax

Delphi

function TQuickPDF0813.SetFormFieldMaxLen(Index, NewMaxLen: Integer): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::SetFormFieldMaxLen(Index As Long,
  NewMaxLen As Long) As Long

DLL

int QuickPDFSetFormFieldMaxLen(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
1 The maximum length of the form field was set successfully

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum