GetFormFieldType
表单字段
描述
返回指定表单字段的类型
语法
Delphi
Function TPDFlib.GetFormFieldType(Index: Integer): Integer;
ActiveX
Function PDFlib::GetFormFieldType(Index As Long) As Long
DLL
int DLGetFormFieldType(int InstanceID, int Index);
参数
| Index | 表单字段的索引 |
|---|
返回值
| 0 | 未知 |
|---|---|
| 1 | 文本 |
| 2 | 按钮 |
| 3 | 复选框 |
| 4 | 单选按钮 |
| 5 | 选择 |
| 6 | 签名 |
| 7 | 父级 |