GetFormFieldMaxLen
表单字段
描述
获取文本表单字段允许的最大长度
语法
Delphi
Function TPDFlib.GetFormFieldMaxLen(Index: Integer): Integer;
ActiveX
Function PDFlib::GetFormFieldMaxLen(Index As Long) As Long
DLL
int DLGetFormFieldMaxLen(int InstanceID, int Index);
参数
| Index | 要操作的表单字段索引。第一个表单字段的索引为 1 |
|---|
返回值
| 0 | 表单字段未指定最大长度 |
|---|---|
| Non-zero | 表单字段的最大长度 |