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

ConstructorDescription
CaretAnnotationConstructor for usign in Generator.
CaretAnnotationCreates new Caret annotation on the specified page.

Methods

MethodDescription
acceptAccepts visitor object to process the annotation.
getAnnotationTypeGets type of annotation.
getFrameGets caret rectangle.
getSymbolGets symbol associated with caret. {@code CaretSymbol}
setFrameSets caret rectangle.
setSymbolSets 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.