GetFormFieldChoiceType
表单字段
描述
确定选择型表单字段是组合框还是列表框字段
语法
Delphi
Function TPDFlib.GetFormFieldChoiceType(Index: Integer): Integer;
ActiveX
Function PDFlib::GetFormFieldChoiceType(Index As Long) As Long
DLL
int DLGetFormFieldChoiceType(int InstanceID, int Index);
参数
| Index | 表单字段的索引 |
|---|
返回值
| 0 | 该表单字段不是选择型表单字段 |
|---|---|
| 1 | 表单字段是可滚动列表框 2 表单字段是下拉组合框 3 表单字段是多选可滚动列表框 4 表单字段是带编辑框的下拉组合框 |