Skip to content

# PDFDestinationZoomMode

Namespace: O2S.Components.PDF4NET.Destinations

Supported zoom modes for a destination.

    public enum PDFDestinationZoomMode

Inheritance Object → ValueType → Enum → PDFDestinationZoomMode
Implements

## Fields

Name | Value | Description
--- | --- | ---
XYZ | 0 | Display the destination page, with the coordinates (PDFPageDestination.Left, PDFPageDestination.Top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor PDFPageDestination.Zoom.
Fit | 1 | Display the destination page, with its contents magnified just enough to fit the entire page within the window both horizontally and vertically.
FitH | 2 | Display the destination page, with the vertical coordinate PDFPageDestination.Top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of the page within the window.
FitV | 3 | Display the destination page, with the horizontal coordinate PDFPageDestination.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.
FitR | 4 | Display the destination page, with its contents magnified just enough to fit the rectangle specified by the coordinates PDFPageDestination.Left, PDFPageDestination.Bottom, PDFPageDestination.Right, and PDFPageDestination.Top entirely within the window both horizontally and vertically.
FitB | 5 | Display the destination page, with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically.
FitBH | 6 | Display the destination page, with the vertical coordinate PDFPageDestination.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.
FitBV | 7 | Display the destination page, with the horizontal coordinate PDFPageDestination.Left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of its bounding box within the window.