Package com.winnovative_software
Class FileLinkElement
java.lang.Object
com.winnovative_software.PageElement
com.winnovative_software.FileLinkElement
This class represents a link to an external file in a PDF document
-
Constructor Summary
ConstructorsConstructorDescriptionFileLinkElement
(RectangleFloat linkRectangle, String filePath) Constructs a file link element -
Method Summary
Modifier and TypeMethodDescriptionfilePath()
Gets the external file pathGets the file link element rectangle in PDF pagevoid
setFilePath
(String filePath) Sets the external file pathvoid
setLinkRectangle
(RectangleFloat linkRectangle) Sets the file link element rectangle in PDF page
-
Constructor Details
-
FileLinkElement
Constructs a file link element- Parameters:
linkRectangle
- the link rectangle in pagefilePath
- the linked file
-
-
Method Details
-
linkRectangle
Gets the file link element rectangle in PDF page- Returns:
- the file link element rectangle in PDF page
-
setLinkRectangle
Sets the file link element rectangle in PDF page- Parameters:
linkRectangle
- the file link element rectangle in PDF page
-
filePath
Gets the external file path- Returns:
- the external file path
-
setFilePath
Sets the external file path- Parameters:
filePath
- the external file path to link
-