RichTextBoxField

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

SignatureDescription
SetRichValue(rv: string)errorSetRichValue sets the rich-text value (/RV, XHTML) and mirrors a plain-text fallback into /V.
RichValue()stringRichValue returns the field’s /RV rich-text value.
Value()stringReturns the value.
SetValue(s: string)errorSets the value value.
MaxLen()intReturns the max len.
IsMultiline()boolReturns true if multiline is set.
IsPassword()boolReturns 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.

See Also

 English