Some test text!
PDFViewCtrl's page view mode controls the default zoom level of pages and documents. New documents will automatically open at the zoom level specified by the mode.
PDFViewCtrl supports the following page view modes:
|Page view mode||Description||Screenshot-portrait||Screenshot-landscape|
|The zoom is set so that the entire page is visible without scrolling.|
|The zoom is set so that the page's width matches the viewer's width.|
|The zoom is set so that the page's height matches the viewer's height.|
|The viewer's zoom is not adjusted based on the page.|
You can set a default page fit mode in your
PDFViewCtrl by using
If you want to dynamically change the page fit mode, use
setPageViewMode(PageViewMode). Note that when the user flips the page, the page view mode will be automatically reset to the default mode set by
It is also possible to maintain the zoom level when switching pages.
PDFViewCtrl allows users to zoom in and out with touch gestures. To maintain zoom level when flipping pages, call
setMaintainZoomEnabled(boolean). Note that when you double tap
PDFViewCtrl will end zooming and reset the page view mode to preferred page view mode. To set preferred page view mode, call