SetFormFieldChoiceType
フォームフィールド
説明
選択フォームフィールドをコンボボックスまたはリストボックスに設定します
構文
Delphi
Function TPDFlib.SetFormFieldChoiceType(Index, ChoiceType: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldChoiceType(Index As Long, ChoiceType As Long) As Long
DLL
int DLSetFormFieldChoiceType(int InstanceID, int Index, int ChoiceType);
パラメータ
| Index | フォームフィールドのインデックス |
|---|---|
| ChoiceType | 1 = フォームフィールドをスクロール可能なリストボックスに設定 2 = フォームフィールドをドロップダウン式コンボボックスに設定 3 = フォームフィールドを複数選択できるスクロール可能なリストボックスに設定 4 = フォームフィールドを編集ボックス付きのドロップダウン式コンボボックスに設定 |
戻り値
| 0 | フィールドは変更されませんでした |
|---|---|
| 1 | フィールドを正常に変更しました |