public class PdfLinkAnnotation extends PdfAnnotation
| Modifier and Type | Field and Description |
|---|---|
static PdfName |
Invert |
static PdfName |
None
Highlight modes.
|
static PdfName |
Outline |
static PdfName |
Push |
Accepted, Canceled, Completed, HIDDEN, HIGHLIGHT_INVERT, HIGHLIGHT_NONE, HIGHLIGHT_OUTLINE, HIGHLIGHT_PUSH, HIGHLIGHT_TOGGLE, INVISIBLE, LOCKED, LOCKED_CONTENTS, Marked, MarkedModel, NO_ROTATE, NO_VIEW, NO_ZOOM, page, PRINT, READ_ONLY, Rejected, ReviewModel, STYLE_BEVELED, STYLE_DASHED, STYLE_INSET, STYLE_SOLID, STYLE_UNDERLINE, TOGGLE_NO_VIEW, Unmarked| Constructor and Description |
|---|
PdfLinkAnnotation(PdfDictionary pdfObject) |
PdfLinkAnnotation(Rectangle rect) |
| Modifier and Type | Method and Description |
|---|---|
PdfObject |
getDestinationObject() |
PdfName |
getHighlightMode() |
PdfName |
getSubtype()
Gets a PdfName which value is a subtype of this annotation.
|
PdfDictionary |
getUriActionObject() |
PdfLinkAnnotation |
removeAction() |
PdfLinkAnnotation |
removeDestination() |
PdfLinkAnnotation |
setAction(PdfAction action)
Sets a PdfAction to this annotation which will be performed when the annotation is activated.
|
PdfLinkAnnotation |
setAction(PdfDictionary action) |
PdfLinkAnnotation |
setDestination(PdfDestination destination) |
PdfLinkAnnotation |
setDestination(PdfObject destination) |
PdfLinkAnnotation |
setHighlightMode(PdfName hlMode) |
PdfLinkAnnotation |
setUriAction(PdfAction action) |
PdfLinkAnnotation |
setUriAction(PdfDictionary action) |
flush, getAction, getAdditionalAction, getAppearanceCharacteristics, getAppearanceDictionary, getAppearanceObject, getAppearanceState, getBorder, getBorderStyle, getColorObject, getContents, getDate, getDownAppearanceObject, getFlags, getName, getNormalAppearanceObject, getOpen, getPage, getPageObject, getQuadPoints, getRectangle, getRolloverAppearanceObject, getStructParentIndex, getTitle, hasFlag, isWrappedObjectMustBeIndirect, makeAnnotation, makeAnnotation, put, remove, resetFlag, setAdditionalAction, setAppearance, setAppearance, setAppearanceCharacteristics, setAppearanceState, setBorder, setBorderStyle, setBorderStyle, setColor, setColor, setColor, setContents, setContents, setDashPattern, setDate, setDownAppearance, setDownAppearance, setFlag, setFlags, setLayer, setName, setNormalAppearance, setNormalAppearance, setOpen, setPage, setQuadPoints, setRectangle, setRolloverAppearance, setRolloverAppearance, setStructParentIndex, setTitleensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidReleasepublic static final PdfName None
public static final PdfName Invert
public static final PdfName Outline
public static final PdfName Push
public PdfLinkAnnotation(PdfDictionary pdfObject)
public PdfLinkAnnotation(Rectangle rect)
public PdfName getSubtype()
PdfAnnotation
PdfName which value is a subtype of this annotation. See ISO-320001 12.5.6, “Annotation Types” for the reference to the possible types.
getSubtype in class PdfAnnotation
public PdfObject getDestinationObject()
public PdfLinkAnnotation setDestination(PdfObject destination)
public PdfLinkAnnotation setDestination(PdfDestination destination)
public PdfLinkAnnotation removeDestination()
public PdfLinkAnnotation setAction(PdfDictionary action)
public PdfLinkAnnotation setAction(PdfAction action)
PdfAnnotation
PdfAction to this annotation which will be performed when the annotation is activated.
setAction in class PdfAnnotation
action - PdfAction to set to this annotation.
PdfAnnotation instance.
public PdfLinkAnnotation removeAction()
public PdfName getHighlightMode()
public PdfLinkAnnotation setHighlightMode(PdfName hlMode)
public PdfDictionary getUriActionObject()
public PdfLinkAnnotation setUriAction(PdfDictionary action)
public PdfLinkAnnotation setUriAction(PdfAction action)
Copyright © 1998–2017 iText Group NV. All rights reserved.