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 .

Μέθοδοι

SignatureDescription
Value()stringReturns the value.
SetValue(s: string)errorSets the value value.
Options()[]ChoiceOptionReturns the options.
Selected()intReturns the selected.
SetSelected(index: int)errorSets the selected value.
SetEditable(v: bool)SetEditable toggles bit 19 (/Ff Edit).
AddOption(o: ChoiceOption)AddOption appends a ChoiceOption to /Opt.
RemoveOption(index: int)errorRemoveOption removes the option at index.
SetReadOnly(v: bool)SetReadOnly/SetRequired on choice types.
SetRequired(v: bool)Sets the required value.

Δείτε επίσης

  • Aspose.PDF — Enterprise API Αναφοράς
 Ελληνικά