com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class FitVExplicitDestination

  • All Implemented Interfaces:
    IAppointment


    public final class FitVExplicitDestination
    extends ExplicitDestination

    Represents explicit destination that displays the page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of the page within the window. A null value for left specifies that the current value of that parameter is to be retained unchanged.

    • Constructor Detail

      • FitVExplicitDestination

        public FitVExplicitDestination(Page page,
                               double left)

        Creates the instance and initializes it by DOM page object and left parameter.

        Parameters:
        page - DOM page object.
        left - The horizontal coordinate left positioned at the left edge of the window.
      • FitVExplicitDestination

        @Deprecated
        public FitVExplicitDestination(Document document,
                                          int pageNumber,
                                          double left)
        Deprecated. 

        Creates remote explicit destination.

        Parameters:
        document - The parent document that contains this object.
        pageNumber - The destination page number of remote document.
        left - The horizontal coordinate left positioned at the left edge of the window.
      • FitVExplicitDestination

        public FitVExplicitDestination(int pageNumber,
                               double left)

        Creates remote explicit destination.

        Parameters:
        pageNumber - The destination page number of remote document.
        left - The horizontal coordinate left positioned at the left edge of the window.
    • Method Detail

      • getLeft

        public double getLeft()

        Gets the horizontal coordinate left positioned at the left edge of the window.

        Returns:
        double value
      • toString

        public String toString()

        Converts the object state into string value. Example: "1 FitV 100".

        Overrides:
        toString in class Object
        Returns:
        String value representing object state.