CaretAnnotation
Inheritance: java.lang.Object, com.aspose.pdf.BaseParagraph com.aspose.pdf.Annotation com.aspose.pdf.MarkupAnnotation com.aspose.pdf.CaretAnnotation, com.aspose.pdf.BaseParagraph, com.aspose.pdf.Annotation com.aspose.pdf.MarkupAnnotation com.aspose.pdf.CaretAnnotation, com.aspose.pdf.Annotation, com.aspose.pdf.MarkupAnnotation com.aspose.pdf.CaretAnnotation, com.aspose.pdf.MarkupAnnotation, com.aspose.pdf.CaretAnnotation
All Implemented Interfaces: com.aspose.ms.System.ICloneable, com.aspose.pdf.engine.ITitledAnnotation
public final class CaretAnnotation extends MarkupAnnotation
Class representing Caret annotation.
Constructors
| Constructor | Description |
|---|---|
| CaretAnnotation | Constructor for usign in Generator. |
| CaretAnnotation | Creates new Caret annotation on the specified page. |
Methods
| Method | Description |
|---|---|
| accept | Accepts visitor object to process the annotation. |
| getAnnotationType | Gets type of annotation. |
| getFrame | Gets caret rectangle. |
| getSymbol | Gets symbol associated with caret. {@code CaretSymbol} |
| setFrame | Sets caret rectangle. |
| setSymbol | Sets output page size for import. |
CaretAnnotation
Constructor for usign in Generator.
CaretAnnotation
Creates new Caret annotation on the specified page.
accept
Accepts visitor object to process the annotation.
getAnnotationType
public AnnotationType getAnnotationType()
Gets type of annotation.
Returns: AnnotationType element
getFrame
public Rectangle getFrame()
Gets caret rectangle.
Returns: caret rectangle.
getSymbol
public CaretSymbol getSymbol()
Gets symbol associated with caret. {@code CaretSymbol}
Returns: CaretSymbol element @see CaretSymbol
setFrame
Sets caret rectangle.
setSymbol
Sets output page size for import.