public abstract class TextMarkupAnnotation extends MarkupAnnotation
Abstract base class for text markup annotations.
| Modifier and Type | Method and Description |
|---|---|
void |
changeAfterResize(Matrix transform)
Updates the QuadPoints, according to the matrix transform.
|
String |
getMarkedText()
Gets text under markup annotation as string.
|
TextFragmentCollection |
getMarkedTextFragments()
Gets text under markup annotation as
TextFragmentCollection. |
Point[] |
getQuadPoints()
Gets an array of points specifying the coordinates of n quadrilaterals.
|
void |
setQuadPoints(Point[] value)
Sets an array of points specifying the coordinates of n quadrilaterals.
|
clearState, getCreationDate, getInReplyTo, getOpacity, getPopup, getReplyType, getRichText, getState, getStateModel, getSubject, getTitle, setCreationDate, setInReplyTo, setMarkedState, setOpacity, setPopup, setReplyType, setReviewState, setReviewState, setRichText, setSubject, setTitleaccept, createAnnotation, flatten, getActiveState, getAlignment, getAnnotationType, 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 Point[] getQuadPoints()
Gets an array of points specifying the coordinates of n quadrilaterals. Each quadrilateral encompasses a word or group of contiguous words in the text underlying the annotation.
public void setQuadPoints(Point[] value)
Sets an array of points specifying the coordinates of n quadrilaterals. Each quadrilateral encompasses a word or group of contiguous words in the text underlying the annotation.
value - array of Point valuepublic void changeAfterResize(Matrix transform)
Updates the QuadPoints, according to the matrix transform.
changeAfterResize in class Annotationtransform - Matrix that use for transformation (resize).public String getMarkedText()
Gets text under markup annotation as string.
public TextFragmentCollection getMarkedTextFragments()
Gets text under markup annotation as TextFragmentCollection.
TextFragmentCollection containing TextFragments that is under markup annotation.Copyright © 2025 Aspose. All Rights Reserved.