com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class ExplicitDestination

    • Method Detail

      • getPage

        public Page getPage()

        Gets the destination page object

        Returns:
        Page object
      • getPageNumber

        public int getPageNumber()

        Gets the destination page number

        Returns:
        int value
      • createDestination

        public static ExplicitDestination createDestination(com.aspose.pdf.engine.data.IPdfArray engineDest)

        Creates instance of ExplicitDestination descendant classes.

        Parameters:
        engineDest - Engine destination object.
        Returns:
        DOM explicit destination object.
      • createDestination

        public static ExplicitDestination createDestination(Page page,
                                                            int type,
                                                            double... values)

        Creates instances of ExplicitDestination descendant classes.

        Parameters:
        page - The object of destination page.
        type - The type of explicit destination.
        values - Array of double values.
        Returns:
        The explicit destination object.
        See Also:
        ExplicitDestinationType
      • createDestination

        @Deprecated
        public static ExplicitDestination createDestination(IDocument doc,
                                                                         int pageNumber,
                                                                         int type,
                                                                         double... values)
        Deprecated. 

        Creates instances of ExplicitDestination descendant classes.

        Parameters:
        doc - Document where destination will be created.
        pageNumber - Number of the page.
        type - Destionatyion type.
        values - Array of destination specific values.
        Returns:
        The explicit destination object.
        See Also:
        ExplicitDestinationType
      • createDestination

        public static ExplicitDestination createDestination(int pageNumber,
                                                            int type,
                                                            double... values)

        Creates instances of ExplicitDestination descendant classes.

        Parameters:
        pageNumber - The destination page number.
        type - The type of explicit destination.
        values - Array of double values.
        Returns:
        The explicit destination object.
        See Also:
        ExplicitDestinationType
      • toString

        public abstract String toString()

        Returns string representation of ExplicitDestination object.

        Specified by:
        toString in interface IAppointment
        Overrides:
        toString in class Object
        Returns:
        String value