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

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.

Voir aussi

  • Aspose.PDF — Résultats de l’API d’entreprise
 Français