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 | フォームフィールドの最大長が正常に設定されました |