com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class FitExplicitDestination

  • All Implemented Interfaces:
    IAppointment


    public final class FitExplicitDestination
    extends ExplicitDestination

    Represents explicit destination that displays the page with its contents magnified just enough to fit the entire page 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 page within the window in the other dimension.

    • Constructor Detail

      • FitExplicitDestination

        public FitExplicitDestination(Page page)

        Creates local explicit destination.

        Parameters:
        page - The destination page object.
      • FitExplicitDestination

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

        Creates remote explicit destination.

        Parameters:
        document - The Aspose.Pdf.Document object.
        pageNumber - The destination page number.
      • FitExplicitDestination

        public FitExplicitDestination(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 Fit".

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