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 Summary

  Constructors
  Constructor
  Description
  `PdfActionGoTo(ExplicitDestination goToDestination)`
  Creates a Go To action based on the specified explicit destination

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ExplicitDestination`
  `destination()`
  Gets the explicit destination of the Go To action
  `void`
  `setDestination(ExplicitDestination goToDestination)`
  Sets the explicit destination of the Go To action

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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