Package com.evopdf

Class PdfActionGoTo

java.lang.Object
com.evopdf.PdfAction
com.evopdf.PdfActionGoTo

public class PdfActionGoTo extends PdfAction
Represents a Go To action in the PDF document
  • Constructor Details

    • PdfActionGoTo

      public PdfActionGoTo(ExplicitDestination goToDestination) throws Exception
      Creates a Go To action based on the specified explicit destination
      Parameters:
      goToDestination - The destination of the Go To action
      Throws:
      Exception - an exception is thrown if the destination is null
  • Method Details

    • destination

      public ExplicitDestination destination()
      Gets the explicit destination of the Go To action
      Returns:
      the explicit destination of the Go To action
    • setDestination

      public void setDestination(ExplicitDestination goToDestination)
      Sets the explicit destination of the Go To action
      Parameters:
      goToDestination - the explicit destination of the Go To action to set