com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class GoToAction

  • All Implemented Interfaces:
    IAppointment
    Direct Known Subclasses:
    GoToRemoteAction


    public class GoToAction
    extends PdfAction

    Represents a go-to action that changes the view to a specified destination (page, location, and magnification factor).

    • Constructor Detail

      • GoToAction

        @Deprecated
        public GoToAction(int page)
        Deprecated. 

        Constructor for GoToAction class.

        Parameters:
        page - int value
      • GoToAction

        public GoToAction(Page page)

        Constructor for GoToAction class.

        Parameters:
        page - Page destination object to jump to.
      • GoToAction

        public GoToAction(Page page,
                          int type,
                          double... values)

        Constructor for GoToAction class.

        Parameters:
        page - Destination page.
        type - Destination type.
        values - Action parameters.
      • GoToAction

        public GoToAction(ExplicitDestination destination)

        Constructor.

        Parameters:
        destination - Explicit destination.
      • GoToAction

        @Deprecated
        public GoToAction()
        Deprecated. 

        Constructor.

      • GoToAction

        public GoToAction(Document doc,
                          String name)

        Action which linked with Named Destination.

        Parameters:
        doc - Document where action will be created.
        name - Name of the destination.
    • Method Detail

      • getDestination

        public IAppointment getDestination()

        Gets the destination to jump to.

        Returns:
        IAppointment value
      • setDestination

        public void setDestination(IAppointment value)

        Sets the destination to jump to.

        Parameters:
        value - IAppointment value