org.pdfbox.pdmodel.interactive.action.type
Class PDActionGoTo
- COSObjectable, PDDestinationOrAction
public class PDActionGoTo
This represents a go-to action that can be executed in a PDF document.
static String | SUB_TYPE - This type of action this object represents.
|
SUB_TYPE
public static final String SUB_TYPE
This type of action this object represents.
PDActionGoTo
public PDActionGoTo()
Default constructor.
PDActionGoTo
public PDActionGoTo(COSDictionary a)
Constructor.
a
- The action dictionary.
getDestination
public PDDestination getDestination()
throws IOException
This will get the destination to jump to.
- The D entry of the specific go-to action dictionary.
setDestination
public void setDestination(PDDestination d)
This will set the destination to jump to.