RichTextBoxField
Overview
RichTextBoxField is a type in Aspose.PDF FOSS for Go.
Inherits from: TextBoxField.
RichTextBoxField is a text field that carries a rich-text value (RichText flag + /RV) in addition to its plain /V.
This type provides 12 methods for working with RichTextBoxField objects in Go programs.
Available methods include: IsMultiline, IsPassword, MaxLen, RichValue, SetMaxLen, SetMultiline, SetPassword, SetReadOnly, SetRequired, SetRichValue, SetValue, Value.
All public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.
Methods
| Signature | Description |
|---|---|
SetRichValue(rv: string) → error | SetRichValue sets the rich-text value (/RV, XHTML) and mirrors a plain-text fallback into /V. |
RichValue() → string | RichValue returns the field’s /RV rich-text value. |
Value() → string | Returns the value. |
SetValue(s: string) → error | Sets the value value. |
MaxLen() → int | Returns the max len. |
IsMultiline() → bool | Returns true if multiline is set. |
IsPassword() → bool | Returns true if password is set. |
SetReadOnly(v: bool) | Sets the read only value. |
SetRequired(v: bool) | Sets the required value. |
SetMultiline(v: bool) | Sets the multiline value. |
SetPassword(v: bool) | Sets the password value. |
SetMaxLen(n: int) | SetMaxLen sets the maximum number of characters. |