Some test text!

Search
Hamburger Icon

iOS / Guides

View mode

There are a few view modes which can be adjusted to provide an optimal presentation such as layout, fit, or reflow.

Page fit & default zoom mode on iOS

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.

Page view modes

PDFViewCtrl supports the following page view modes:

Page view mode DescriptionScreenshot-portraitScreenshot-landscape
e_trn_fit_pageThe zoom is set so that the entire page is visible without scrolling.quick menu imagepage view mode
e_trn_fit_widthThe zoom is set so that the page's width matches the viewer's width.quick menu imagepage view mode
e_trn_fit_heightThe zoom is set so that the page's height matches the viewer's height.quick menu imagepage view mode
e_trn_zoomThe viewer's zoom is not adjusted based on the page.quick menu imagepage view mode

Set the default page fit mode

You can set a default page fit mode in your PDFViewCtrl by using setPageRefViewMode(_:).

Set the page fit mode dynamically

If you want to dynamically change the page fit mode, use setPageViewMode(_:). Note that when the user flips the page, the page view mode will be automatically reset to the default mode set by setPageRefViewMode.

self.pdfViewCtrl.setPageViewMode(e_trn_fit_width);

Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales