pdfactionlinkannotation-ag凯发旗舰厅



com.spire.pdf.annotations
class pdfactionlinkannotation

java.lang.object
  extended by com.spire.pdf.annotations.pdfannotation
      extended by com.spire.pdf.annotations.pdflinkannotation
          extended by 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.


constructor summary
pdfactionlinkannotation(java.awt.geom.rectangle2d rectangle)
          initializes a new instance of the class.
pdfactionlinkannotation(java.awt.geom.rectangle2d rectangle, pdfaction action)
          initializes a new instance of the class.
 
method summary
 pdfaction getaction()
          gets the action for the link annotation.
 void setaction(pdfaction value)
          sets the action for the link annotation.
 
methods inherited from class com.spire.pdf.annotations.pdflinkannotation
gethighlightmode, sethighlightmode
 
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
 
constructor detail

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.
method detail

getaction

public pdfaction getaction()
gets the action for the link annotation.

setaction

public void setaction(pdfaction value)
sets the action for the link annotation.


网站地图