|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.pdf.annotations.PdfAnnotation
com.spire.pdf.annotations.PdfLinkAnnotation
com.spire.pdf.annotations.PdfActionLinkAnnotation
com.spire.pdf.annotations.PdfFileLinkAnnotation
public class PdfFileLinkAnnotation
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.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 |
---|
public PdfFileLinkAnnotation(java.awt.geom.Rectangle2D rectangle, java.lang.String fileName)
rectangle
- Bounds of the annotation.fileName
- A String value specifying the full path to the file to be embedded.Method Detail |
---|
public java.lang.String getFileName()
public void setFileName(java.lang.String value)
public PdfAction getAction()
getAction
in class PdfActionLinkAnnotation
public void setAction(PdfAction value)
setAction
in class PdfActionLinkAnnotation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |