public class CPDFLinkAnnotation extends CPDFAnnotation
| Modifier and Type | Class and Description |
|---|---|
static class |
CPDFLinkAnnotation.CPDFLinkAnnotationAttr |
CPDFAnnotation.AppearanceType, CPDFAnnotation.BorderEffectIntensity, CPDFAnnotation.CPDFBorderEffectType, CPDFAnnotation.Flags, CPDFAnnotation.MarkState, CPDFAnnotation.MediaSourceType, CPDFAnnotation.ReviewState, CPDFAnnotation.Typeindex| Modifier and Type | Method and Description |
|---|---|
void |
applyAnnotationAttr(CPDFAnnotationUndoAttr annotationAttr) |
void |
close()
When the object is no longer in use, call this method to release resources.
|
CPDFAnnotationUndoAttr |
getAnnotationAttr() |
CPDFDestination |
getDestination(CPDFDocument document)
Gets link information of document.
|
CPDFAction |
getLinkAction()
Gets the response action of the link annotation.
|
android.graphics.RectF |
getRect()
Gets annotation rectangle.
|
boolean |
setDestination(CPDFDocument document,
CPDFDestination destination)
Sets link information of document.
|
boolean |
setLinkAction(CPDFAction action)
Sets the response action of the link annotation.
|
boolean |
setRect(android.graphics.RectF rect)
Sets annotation rectangle.
|
addToPage, createReplyAnnotation, disableListenAttrChanged, enableListenAttrChanged, equal, equal, getAllReplyAnnotations, getAnnotIndexFromNative, getAnnotPtr, getAppearance, getAppearanceByPixel, getApRotation, getBordEffectIntensity, getBordEffectType, getBorderWidth, getContent, getCreationDate, getFlags, getMarkedAnnotState, getName, getRecentlyModifyDate, getReviewAnnotState, getRotateRectPoint, getRotation, getSourceRect, getTitle, getType, getVertices, hasAp, isAllowCorrectAnnotationAp, isHidden, isLocked, isReadOnly, isValid, moveAnnotIndex, removeAp, removeFromPage, removeFromPageIncludeReplyAnnot, setAllowCorrectAnnotationAp, setAnnotTop, setBordEffectIntensity, setBordEffectType, setBorderWidth, setContent, setCreationDate, setFlags, setHidden, setLocked, setMarkedAnnotState, setName, setOnAnnotationChangedListener, setReadOnly, setRecentlyModifyDate, setReviewAnnotState, setRotation, setSourceRect, setTitle, setVertices, updateAp, updateApWithBitmap, updateApWithImagepublic boolean setLinkAction(CPDFAction action)
CPDFAction.ActionType
The action type can be obtained throughCPDFAction.getActionType(), more: CPDFActionaction - Response action of the link annotation.public CPDFAction getLinkAction()
CPDFAction.ActionType
The action type can be obtained throughCPDFAction.getActionType(), more: CPDFActionCPDFActionpublic CPDFDestination getDestination(CPDFDocument document)
document - This class is about CPDFDocument, one CPDFDocument class for one document.CPDFDocument,
CPDFDestinationpublic boolean setDestination(CPDFDocument document, CPDFDestination destination)
document - This class is about CPDFDocument, one CPDFDocument class for one document.destination - destination information.public boolean setRect(android.graphics.RectF rect)
CPDFPage.convertRectToPage(boolean, float, float, RectF).setRect in class CPDFAnnotationrect - Rectangle on the page.public android.graphics.RectF getRect()
CPDFPage.convertRectToPage(boolean, float, float, RectF).getRect in class CPDFAnnotationpublic CPDFAnnotationUndoAttr getAnnotationAttr()
getAnnotationAttr in class CPDFAnnotationpublic void applyAnnotationAttr(CPDFAnnotationUndoAttr annotationAttr)
applyAnnotationAttr in class CPDFAnnotationpublic void close()
close in class CPDFAnnotation