**Inheritance:**
java.lang.Object, com.aspose.pdf.AnnotationTextRenderer

```
public class AnnotationTextRenderer extends Object
```

Class for rendering normal and rich text.

## Constructors

| Constructor | Description |
| --- | --- |
| [AnnotationTextRenderer](#AnnotationTextRenderer--) |  |

## Methods

| Method | Description |
| --- | --- |
| [render](#render-java.lang.String-com.aspose.pdf.Rectangle-java.lang.String-double-com.aspose.pdf.HorizontalAlignment-com.aspose.pdf.Justification-com.aspose.pdf.Border-com.aspose.pdf.Rectangle-com.aspose.pdf.engine.commondata.pagecontent.IResourceDictionary-com.aspose.pdf.engine.data.IPdfObject-double-) | Renders plain text as PDF operators with automatic line wrapping, font selection, alignment, and rotation. |
| [render](#render-java.lang.String-com.aspose.pdf.Rectangle-java.lang.String-double-com.aspose.pdf.HorizontalAlignment-com.aspose.pdf.Justification-com.aspose.pdf.Border-com.aspose.pdf.Rectangle-com.aspose.pdf.engine.commondata.pagecontent.IResourceDictionary-com.aspose.pdf.engine.data.IPdfObject-double-boolean-) | Renders plain text as PDF operators with automatic line wrapping, font selection, alignment, and rotation. |
| [renderRichText](#renderRichText-java.lang.String-java.lang.String-com.aspose.pdf.Rectangle-com.aspose.pdf.Rectangle-double-com.aspose.pdf.Rectangle-com.aspose.pdf.engine.commondata.pagecontent.IResourceDictionary-com.aspose.pdf.Rectangle-com.aspose.pdf.engine.data.ITrailerable-) | Renders rich text as a list of PDF operators, applying the specified rotation and positioning. |

### AnnotationTextRenderer {#AnnotationTextRenderer--}
```
public AnnotationTextRenderer()
```



### render {#render-java.lang.String-com.aspose.pdf.Rectangle-java.lang.String-double-com.aspose.pdf.HorizontalAlignment-com.aspose.pdf.Justification-com.aspose.pdf.Border-com.aspose.pdf.Rectangle-com.aspose.pdf.engine.commondata.pagecontent.IResourceDictionary-com.aspose.pdf.engine.data.IPdfObject-double-}
Renders plain text as PDF operators with automatic line wrapping, font selection, alignment, and rotation.

### render {#render-java.lang.String-com.aspose.pdf.Rectangle-java.lang.String-double-com.aspose.pdf.HorizontalAlignment-com.aspose.pdf.Justification-com.aspose.pdf.Border-com.aspose.pdf.Rectangle-com.aspose.pdf.engine.commondata.pagecontent.IResourceDictionary-com.aspose.pdf.engine.data.IPdfObject-double-boolean-}
Renders plain text as PDF operators with automatic line wrapping, font selection, alignment, and rotation.

### renderRichText {#renderRichText-java.lang.String-java.lang.String-com.aspose.pdf.Rectangle-com.aspose.pdf.Rectangle-double-com.aspose.pdf.Rectangle-com.aspose.pdf.engine.commondata.pagecontent.IResourceDictionary-com.aspose.pdf.Rectangle-com.aspose.pdf.engine.data.ITrailerable-}
Renders rich text as a list of PDF operators, applying the specified rotation and positioning.
