SetFormFieldMaxLen

フォームフィールド

説明

指定したテキストフォームフィールドで受け入れる最大文字数を設定します

構文

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);

パラメータ

Index操作対象のフォームフィールドのインデックスです。最初のフォームフィールドのインデックスは 1 です
NewMaxLenフォームフィールドに使用する新しい最大長

戻り値

0フォームフィールドインデックスが無効でした
1フォームフィールドの最大長が正常に設定されました