ComboBoxField

ComboBoxField

Revisión

‘ComboBoxField’ es un tipo en Aspose.PDF FOSS para Go.

ComboBoxField es un campo de selección de descenso único.

Este tipo proporciona 10 métodos para trabajar con objetos ComboBoxField en los programas Go. Los métodos disponibles incluyen: ‘AddOption’, ‘Opciones’, `RemoveOpcion’, ‘Selected’, ‘SetEditable’, ’SetReadOnly’, ‚SetRequired’,‘SetSelect’, ‘‘SetValue’,‘‘Valuenta’.Todos los miembros públicos son accesibles a cualquier aplicación Go después de instalar el paquete Aspose.PDF FOSS para Go .

Metodología

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.

Ver también

  • Aspose.PDF — Referencia de API Enterprise
 Español