ComboBoxField
Vue de l’ensemble
‘ComboBoxField’ est un type dans Aspose.PDF FOSS pour Go.
ComboBoxField est un champ de choix de descente unique.
Ce type fournit 10 méthodes pour travailler avec des objets ComboBoxField dans les programmes Go. Les méthodologies disponibles comprennent: ‘AddOption’, ‘Options’, RemoveOpction', ‘Selected’, 'SetEditable', ’SetReadOnly', ‚SetRequired',‘SetSelect’, ‘SetValue’, Valué`. Tous les membres publics sont accessibles à toute application Go après l’installation de la mise en place d’Aspoe.PDF FOSS pour le package Go .
méthodes
| Signature | Description |
|---|---|
Value() → string | Returns the value. |
SetValue(s: string) → error | Sets the value value. |
Options() → []ChoiceOption | Returns the options. |
Selected() → int | Returns the selected. |
SetSelected(index: int) → error | Sets the selected value. |
SetEditable(v: bool) | SetEditable toggles bit 19 (/Ff Edit). |
AddOption(o: ChoiceOption) | AddOption appends a ChoiceOption to /Opt. |
RemoveOption(index: int) → error | RemoveOption removes the option at index. |
SetReadOnly(v: bool) | SetReadOnly/SetRequired on choice types. |
SetRequired(v: bool) | Sets the required value. |
Voir aussi
- Aspose.PDF — Résultats de l’API d’entreprise