com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class FitBHExplicitDestination

  • All Implemented Interfaces:
    IAppointment


    public final class FitBHExplicitDestination
    extends ExplicitDestination

    Represents explicit destination that displays the page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of its bounding box within the window. A null value for top specifies that the current value of that parameter is to be retained unchanged.

    • Constructor Detail

      • FitBHExplicitDestination

        public FitBHExplicitDestination(Page page,
                                        double top)

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

        Parameters:
        page - DOM page object.
        top - The vertical coordinate top positioned at the top edge of the window.
      • FitBHExplicitDestination

        @Deprecated
        public FitBHExplicitDestination(Document document,
                                                     int pageNumber,
                                                     double top)
        Deprecated. 

        Creates remote explicit destination.

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

        public FitBHExplicitDestination(int pageNumber,
                                        double top)

        Creates remote explicit destination.

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

      • getTop

        public double getTop()

        Gets the vertical coordinate top positioned at the top edge of the window.

        Returns:
        double value