public final class CaretAnnotation extends MarkupAnnotation
Class representing Caret annotation.
| Constructor and Description |
|---|
CaretAnnotation(IDocument document)
Constructor for usign in Generator.
|
CaretAnnotation(Page page,
Rectangle rect)
Creates new Caret annotation on the specified page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AnnotationSelector visitor)
Accepts visitor object to process the annotation.
|
AnnotationType |
getAnnotationType()
Gets type of annotation.
|
Rectangle |
getFrame()
Gets caret rectangle.
|
CaretSymbol |
getSymbol()
Gets symbol associated with caret.
|
void |
setFrame(Rectangle value)
Sets caret rectangle.
|
void |
setSymbol(CaretSymbol value)
Sets output page size for import.
|
clearState, getCreationDate, getInReplyTo, getOpacity, getPopup, getReplyType, getRichText, getState, getStateModel, getSubject, getTitle, setCreationDate, setInReplyTo, setMarkedState, setOpacity, setPopup, setReplyType, setReviewState, setReviewState, setRichText, setSubject, setTitlechangeAfterResize, createAnnotation, flatten, getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getPageIndex, getPdfActions, getRect, getRectangle, getStates, getTextHorizontalAlignment, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setTextHorizontalAlignment, setUpdateAppearanceOnConvert, setUseFontSubset, setWidthdeepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndexpublic CaretAnnotation(IDocument document)
Constructor for usign in Generator.
document - Document where annotation will be created.public AnnotationType getAnnotationType()
Gets type of annotation.
getAnnotationType in class AnnotationAnnotationTypepublic Rectangle getFrame()
Gets caret rectangle.
public void setFrame(Rectangle value)
Sets caret rectangle.
value - caret rectangle.public CaretSymbol getSymbol()
Gets symbol associated with caret.
CaretSymbolCaretSymbolpublic void setSymbol(CaretSymbol value)
Sets output page size for import.
value - CaretSymbol elementCaretSymbolpublic void accept(AnnotationSelector visitor)
Accepts visitor object to process the annotation.
accept in class Annotationvisitor - Visitor object.Copyright © 2025 Aspose. All Rights Reserved.