SetFormFieldChoiceType
Formularfelder
Beschreibung
Prüfen Sie Syntax, Parameter und Rückgabewerte, bevor Sie die Funktion aufrufen Die Codeblöcke bleiben im Original erhalten, damit Beispiele unverändert übernommen werden können.
Syntax
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);
Parameter
| Index | Der Index des Formularfelds |
|---|---|
| ChoiceType | 1 = Formularfeld als scrollbares Listenfeld festlegen 2 = Formularfeld als Dropdown-Kombinationsfeld festlegen 3 = Formularfeld als scrollbares Mehrfachauswahl-Listenfeld festlegen 4 = Formularfeld als Dropdown-Kombinationsfeld mit Eingabefeld festlegen |
Rückgabewerte
| 0 | Das Feld wurde nicht geändert |
|---|---|
| 1 | Das Feld wurde erfolgreich geändert |