public final class HighlightAnnotation extends TextMarkupAnnotation
Represents a highlight annotation that highlights a range of text in the document.
Constructor and Description |
---|
HighlightAnnotation(Page page,
Rectangle rect)
Creates new Highlight 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.
|
changeAfterResize, getMarkedText, getMarkedTextFragments, getQuadPoints, setQuadPoints
getCreationDate, getInReplyTo, getOpacity, getPopup, getReplyType, getRichText, getSubject, getTitle, setInReplyTo, setOpacity, setPopup, setReplyType, setRichText, setSubject, setTitle
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, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
public void accept(AnnotationSelector visitor)
Accepts visitor object to process the annotation.
accept
in class Annotation
visitor
- Visitor object.public AnnotationType getAnnotationType()
Gets type of annotation.
getAnnotationType
in class Annotation
AnnotationType
Copyright © 2024 Aspose. All Rights Reserved.