com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class RichTextBoxField

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.ICollection, com.aspose.ms.System.Collections.IEnumerable, com.aspose.ms.System.ICloneable, Cloneable, Iterable


    public final class RichTextBoxField
    extends TextBoxField

    Class describes rich text editor component.

    • Constructor Detail

      • RichTextBoxField

        public RichTextBoxField(Page page,
                        Rectangle rect)

        Constructor for Rich Text Box field.

        Parameters:
        page - Page where field will be placed.
        rect - java.awt.Rectangle Position of the field on the page.
      • RichTextBoxField

        public RichTextBoxField(Page page,
                        Rectangle rect)

        Constructor for Rich Text Box field.

        Parameters:
        page - Page where field will be placed.
        rect - com.aspose.pdf.Rectangle Position of the field on the page.
    • Method Detail

      • getStyle

        public String getStyle()

        Gets default style string of the rich text field.

        Returns:
        String value
      • setStyle

        public void setStyle(String value)

        Sets default style string of the rich text field.

        Parameters:
        value - String value
      • getRichTextValue

        public String getRichTextValue()

        Gets rich text value.

        Returns:
        String value
      • setRichTextValue

        public void setRichTextValue(String value)

        Sets rich text value.

        Parameters:
        value - String value
      • getFormattedValue

        public String getFormattedValue()

        Gets formatted rich text value with markup.

        Returns:
        String value
      • setFormattedValue

        public void setFormattedValue(String value)

        Sets formatted rich text value with markup.

        Parameters:
        value - String value
      • getValue

        public String getValue()

        Get Value of RichTextField.

        Overrides:
        getValue in class TextBoxField
        Returns:
        String value
      • setValue

        public void setValue(String value)

        Set Value of RichTextField.

        Overrides:
        setValue in class TextBoxField
        Parameters:
        value - String value
      • getJustify

        public int getJustify()

        Gets justification of the rich text box.

        Returns:
        Justification value
        See Also:
        Justification
      • setJustify

        public void setJustify(int value)

        Sets justification of the rich text box.

        Parameters:
        value - Justification value
        See Also:
        Justification