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
| 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. |
Ver también
- Aspose.PDF — Referencia de API Enterprise