**Inheritance:**
java.lang.Object, com.aspose.pdf.BaseParagraph com.aspose.pdf.Annotation com.aspose.pdf.WidgetAnnotation com.aspose.pdf.Field com.aspose.pdf.TextBoxField com.aspose.pdf.RichTextBoxField, com.aspose.pdf.BaseParagraph, com.aspose.pdf.Annotation com.aspose.pdf.WidgetAnnotation com.aspose.pdf.Field com.aspose.pdf.TextBoxField com.aspose.pdf.RichTextBoxField, com.aspose.pdf.Annotation, com.aspose.pdf.WidgetAnnotation com.aspose.pdf.Field com.aspose.pdf.TextBoxField com.aspose.pdf.RichTextBoxField, com.aspose.pdf.WidgetAnnotation, com.aspose.pdf.Field com.aspose.pdf.TextBoxField com.aspose.pdf.RichTextBoxField, com.aspose.pdf.Field, com.aspose.pdf.TextBoxField com.aspose.pdf.RichTextBoxField, com.aspose.pdf.TextBoxField, com.aspose.pdf.RichTextBoxField

**All Implemented Interfaces:**
com.aspose.ms.System.Collections.Generic.IGenericEnumerable< WidgetAnnotation >, com.aspose.ms.System.Collections.IEnumerable< WidgetAnnotation >, com.aspose.ms.System.ICloneable, Cloneable, Iterable < WidgetAnnotation >

```
public final class RichTextBoxField extends TextBoxField
```

Class describes rich text editor component.

## Constructors

| Constructor | Description |
| --- | --- |
| [RichTextBoxField](#RichTextBoxField-com.aspose.pdf.Page-java.awt.Rectangle-) | Constructor for Rich Text Box field. |
| [RichTextBoxField](#RichTextBoxField-com.aspose.pdf.Page-com.aspose.pdf.Rectangle-) | Constructor for Rich Text Box field. |

## Methods

| Method | Description |
| --- | --- |
| [getFormattedValue](#getFormattedValue--) | Gets formatted rich text value with markup. |
| [getJustify](#getJustify--) | Gets justification of the rich text box. |
| [getRichTextValue](#getRichTextValue--) | Gets rich text value. |
| [getStyle](#getStyle--) | Gets default style string of the rich text field. |
| [getValue](#getValue--) | Get Value of RichTextField. |
| [setFormattedValue](#setFormattedValue-java.lang.String-) | Sets formatted rich text value with markup. |
| [setJustify](#setJustify-com.aspose.pdf.Justification-) | Sets justification of the rich text box. |
| [setRichTextValue](#setRichTextValue-java.lang.String-) | Sets rich text value. |
| [setStyle](#setStyle-java.lang.String-) | Sets default style string of the rich text field. |
| [setValue](#setValue-java.lang.String-) | Set Value of RichTextField. |

### RichTextBoxField {#RichTextBoxField-com.aspose.pdf.Page-java.awt.Rectangle-}
Constructor for Rich Text Box field.

### RichTextBoxField {#RichTextBoxField-com.aspose.pdf.Page-com.aspose.pdf.Rectangle-}
Constructor for Rich Text Box field.

### getFormattedValue {#getFormattedValue--}
```
public String getFormattedValue()
```

Gets formatted rich text value with markup.

**Returns:**
String value

### getJustify {#getJustify--}
```
public Justification getJustify()
```

Gets justification of the rich text box.

**Returns:**
Justification value @see Justification

### getRichTextValue {#getRichTextValue--}
```
public String getRichTextValue()
```

Gets rich text value.

**Returns:**
String value

### getStyle {#getStyle--}
```
public String getStyle()
```

Gets default style string of the rich text field.

**Returns:**
String value

### getValue {#getValue--}
```
public String getValue()
```

Get Value of RichTextField.

**Returns:**
String value

### setFormattedValue {#setFormattedValue-java.lang.String-}
Sets formatted rich text value with markup.

### setJustify {#setJustify-com.aspose.pdf.Justification-}
Sets justification of the rich text box.

### setRichTextValue {#setRichTextValue-java.lang.String-}
Sets rich text value.

### setStyle {#setStyle-java.lang.String-}
Sets default style string of the rich text field.

### setValue {#setValue-java.lang.String-}
Set Value of RichTextField.
