pdffilelinkannotation-ag凯发旗舰厅
com.spire.pdf.annotations
class pdffilelinkannotation
java.lang.object
com.spire.pdf.annotations.pdfannotation
com.spire.pdf.annotations.pdflinkannotation
com.spire.pdf.annotations.pdfactionlinkannotation
com.spire.pdf.annotations.pdffilelinkannotation
- all implemented interfaces:
- ipdfwrapper
public class pdffilelinkannotation
- extends pdfactionlinkannotation
represents the annotation link to external file.
constructor summary |
pdffilelinkannotation(java.awt.geom.rectangle2d rectangle,
java.lang.string filename)
initializes a new instance of the class. |
method summary |
pdfaction |
getaction()
gets the action. |
java.lang.string |
getfilename()
gets name of the file to be references by the annotation. |
void |
setaction(pdfaction value)
sets the action. |
void |
setfilename(java.lang.string value)
sets name of the file to be references by the annotation. |
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 |
pdffilelinkannotation
public pdffilelinkannotation(java.awt.geom.rectangle2d rectangle,
java.lang.string filename)
- initializes a new instance of the class.
- parameters:
rectangle
- bounds of the annotation.filename
- a string value specifying the full path to the file to be embedded.
getfilename
public java.lang.string getfilename()
- gets name of the file to be references by the annotation.
setfilename
public void setfilename(java.lang.string value)
- sets name of the file to be references by the annotation.
getaction
public pdfaction getaction()
- gets the action.
- overrides:
getaction
in class pdfactionlinkannotation
setaction
public void setaction(pdfaction value)
- sets the action.
- overrides:
setaction
in class pdfactionlinkannotation