pdfactionlinkannotation-ag凯发旗舰厅
com.spire.pdf.annotations
class pdfactionlinkannotation
java.lang.object
com.spire.pdf.annotations.pdfannotation
com.spire.pdf.annotations.pdflinkannotation
com.spire.pdf.annotations.pdfactionlinkannotation
- all implemented interfaces:
- ipdfwrapper
- direct known subclasses:
- pdfactionannotation, pdffilelinkannotation, pdfuriannotation
public abstract class pdfactionlinkannotation
- extends pdflinkannotation
represents base class for link annotations with associated action.
methods inherited from class com.spire.pdf.annotations.pdfannotation |
getauthor, getborder, getcolor, getdictionary, getflags, getlocation, getmodifieddate, getname, getpage, getrectangle, getsubject, gettext, setauthor, setborder, setcolor, setdictionary, setflags, setmodifieddate, setname, setrectangle, setsubject, settext |
pdfactionlinkannotation
public pdfactionlinkannotation(java.awt.geom.rectangle2d rectangle)
- initializes a new instance of the class.
- parameters:
rectangle
- bounds of the annotation.
pdfactionlinkannotation
public pdfactionlinkannotation(java.awt.geom.rectangle2d rectangle,
pdfaction action)
- initializes a new instance of the class.
- parameters:
rectangle
- bounds specifies the location of the drawn text.action
- the specifies an action to be executed when the link is activated.
getaction
public pdfaction getaction()
- gets the action for the link annotation.
setaction
public void setaction(pdfaction value)
- sets the action for the link annotation.