public interface TextMarkup extends Annotation
BORDERSTYLE_BEVELED, BORDERSTYLE_CLOUD, BORDERSTYLE_DASHED, BORDERSTYLE_INSETS, BORDERSTYLE_SOLID, BORDERSTYLE_UNDERLINE, FLAGS_HIDDEN, FLAGS_INVISIBLE, FLAGS_LOCKED, FLAGS_LOCKEDCONTENTS, FLAGS_NOROTATE, FLAGS_NOVIEW, FLAGS_NOZOOM, FLAGS_PRINTABLE, FLAGS_READONLY| Modifier and Type | Method and Description | 
|---|---|
| Date | getCreationDate()Returns the date and time when the annotation was created. | 
| String | getIntent()returns intent for this annotation | 
| Vector<Point2D[]> | getQuadList()Returns a list of the quadrilaterals that compose this annotation. | 
| String | getText(IPDFPage page) | 
| void | setContents(String contents)Sets the text content for this annotation. | 
| void | setQuadList(Vector<Point2D[]> quadList)Sets the list of quadrilaterals that compose this annotation. | 
| void | setRectangleFromQuads()Convenience method to set the annotation rectangle from the quadrilaterals. | 
| void | setSubtype(String subtype)Sets the annotation's subtype. | 
getActions, getAnnotationComponent, getBorderStyle, getBorderWidth, getCheckmarkStatus, getColor, getComponent, getContents, getCreator, getFlags, getIRTAnnotation, getModifiedDate, getName, getOpacity, getPageIndex, getRectangle, getReviewHistory, getSubject, getSubtype, getTriggerActions, isHidden, isInvisible, isIRTGroup, isLocked, isLockedContents, isNoRotate, isNoView, isNoZoom, isPrintable, isReadOnly, paint, print, revalidate, setActions, setBorderStyle, setBorderWidth, setColor, setComponent, setComponentVisible, setCreator, setFlags, setHidden, setInvisible, setLayer, setLocked, setLockedContents, setModifiedDate, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setPrintable, setReadOnly, setRectangle, setSubject, setTriggerActions, shiftRectanglevoid setContents(String contents)
contents - the new comment.Vector<Point2D[]> getQuadList()
void setQuadList(Vector<Point2D[]> quadList)
quadList - The new list of quadrilaterals.void setRectangleFromQuads()
String getIntent()
String getText(IPDFPage page) throws PDFPermissionException
page - The page the annotation is located on.PDFPermissionExceptionvoid setSubtype(String subtype)
subtype - The type of the markup annotation. Possible values are Highlight,
            Underline, StrikeOut, Squiggly.Date getCreationDate()