com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class FitBExplicitDestination

  • All Implemented Interfaces:
    IAppointment


    public final class FitBExplicitDestination
    extends ExplicitDestination

    Represents explicit destination that displays the page with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the bounding box within the window in the other dimension.

    • Constructor Detail

      • FitBExplicitDestination

        public FitBExplicitDestination(Page page)

        Creates the instance and initializes it by DOM page object.

        Parameters:
        page - DOM page object.
      • FitBExplicitDestination

        @Deprecated
        public FitBExplicitDestination(Document document,
                                          int pageNumber)
        Deprecated. 

        Creates remote explicit destination.

        Parameters:
        document - The parent document that contains this object.
        pageNumber - The destination page number of remote document.
      • FitBExplicitDestination

        public FitBExplicitDestination(int pageNumber)

        Creates remote explicit destination.

        Parameters:
        pageNumber - The destination page number of remote document.
    • Method Detail

      • toString

        public String toString()

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

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