Package com.winnovative_software
Class InternalLinkElement
java.lang.Object
com.winnovative_software.PageElement
com.winnovative_software.InternalLinkElement
This class represents an internal link element in the PDF document which can
be used to connect various sections of a PDF document
-
Constructor Summary
ConstructorsConstructorDescriptionInternalLinkElement
(RectangleFloat linkRectangle, ExplicitDestination linkDestination) Constructs a PDF internal link element with the given location and destination -
Method Summary
Modifier and TypeMethodDescriptionGets the link destinationGets the internal link element rectanglevoid
setLinkDestination
(ExplicitDestination linkDestination) Sets the link destinationvoid
setLinkRectangle
(RectangleFloat linkRectangle) Sets the internal link element rectangle in PDF page
-
Constructor Details
-
InternalLinkElement
Constructs a PDF internal link element with the given location and destination- Parameters:
linkRectangle
- the link rectangle in pagelinkDestination
- the link destination
-
-
Method Details
-
linkRectangle
Gets the internal link element rectangle- Returns:
- the internal link element rectangle in PDF page
-
setLinkRectangle
Sets the internal link element rectangle in PDF page- Parameters:
linkRectangle
- the internal link element rectangle to set
-
linkDestination
Gets the link destination- Returns:
- the link destination
-
setLinkDestination
Sets the link destination- Parameters:
linkDestination
- the link destination to set
-