DsPdfJS API - v9.1.0
    Preparing search index...

    Class DestinationFitB

    Display the page designated by Destination#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.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get id(): number

      Gets the reference to the object.

      Returns number

    • get page(): PdfPage | null

      Gets this destination's target PdfPage object. Returns null if the target page was specified by index.

      Returns PdfPage | null

    • get pageIndex(): number | null

      Gets the index of this destination's target page. Returns null if the target page was specified as a PdfPage object.

      Note that if this property is not null, then any Y coordinate is relative to the bottom left corner (see Destination description for details).

      Returns number | null

    Methods