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 表單欄位是帶編輯框的下拉式方塊