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

SignatureDescription
SetAppearance(a: ButtonAppearance)errorSetAppearance 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()stringReturns the value.
SetValue(s: string)errorSets the value value.

See Also