ComboBoxField
ΕΚΤΙΜΗΣΗ
Το ‘ComboBoxField’ είναι ένα είδος στο Aspose.PDF FOSS για Go.
Το ComboBoxField είναι ένα επιλεγμένο πεδίο dropdown.
Αυτό το είδος παρέχει 10 μεθόδους για να εργαστείτε με αντικείμενα ComboBoxField στα προγράμματα Go. Οι διαθέσιμες μέθοδοι περιλαμβάνουν: ‘AddOption’, ‘Επιλογές’, `RemoveOptions’, ‘Selected’, ‘SetEditable’, ’SetReadOnly’, ‚SetRequired’, ‘‘SetSelect’,‘‘SetValue’, ́Values’. Όλα τα μέλη του κοινού είναι προσβάσιμα σε οποιαδήποτε εφαρμογή Go μετά την εγκατάσταση της Aspose.PDF FOSS για το πακέτο Go .
Μέθοδοι
| 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. |
Δείτε επίσης
- Aspose.PDF — Enterprise API Αναφοράς