ButtonField
Overview
ButtonField is a type in Aspose.PDF FOSS for Go.
ButtonField is a push button — action only, no value semantics.
This type provides 4 methods for working with ButtonField objects in Go programs.
Available methods include: SetAppearance, SetReadOnly, SetValue, Value.
All public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.
Methods
| Signature | Description |
|---|---|
SetAppearance(a: ButtonAppearance) → error | SetAppearance applies a ButtonAppearance to the push button: it writes the /MK characteristics (/CA, /RC, /AC, /TP) and regenerates the widget’s /AP with distinct /N (normal), /R (rollover), and /D (down) appearance streams. |
SetReadOnly(v: bool) | Sets the read only value. |
Value() → string | Returns the value. |
SetValue(s: string) → error | Sets the value value. |