PDF4Java Reference Documentation
com.o2sol.pdf4java.destinations Package / PDFDestinationZoomMode Enumeration
Collapse All Expand All
In This Topic

PDFDestinationZoomMode Enumeration
In This Topic
Defines the supported zoom modes for a destination.
Members

Member | Description
--- | ---
FIT | Display the destination page, with its contents magnified just enough to fit the entire page within the window both horizontally and vertically.
FIT_BOUNDING_BOX | Display the destination page, with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically.
FIT_BOUNDING_BOX_HORIZONTAL | Display the destination page, with the vertical coordinate PDFPageDestination.getTop 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.
FIT_BOUNDING_BOX_VERTICAL | Display the destination page, with the horizontal coordinate PDFPageDestination.getLeft 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.
FIT_HORIZONTAL | Display the destination page, with the vertical coordinate PDFPageDestination.getTop 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.
FIT_RECTANGLE | Display the destination page, with its contents magnified just enough to fit the rectangle specified by the coordinates PDFPageDestination.getLeft, PDFPageDestination.getBottom, PDFPageDestination.getRight, and PDFPageDestination.getTop entirely within the window both horizontally and vertically.
FIT_VERTICAL | Display the destination page, with the horizontal coordinate PDFPageDestination.getLeft 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.
XYZ | Display the destination page, with the coordinates ( PDFPageDestination.getLeft, PDFPageDestination.getTop) positioned at the upper-left corner of the window and the contents of the page magnified by the factor PDFPageDestination.getZoom.

Inheritance Hierarchy

java.lang.Object
java.lang.Enum
com.o2sol.pdf4java.destinations.PDFDestinationZoomMode

See Also

#### Reference

com.o2sol.pdf4java.destinations Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.