Some test text!

keyboard_arrow_down

Get started

keyboard_arrow_down

FAQ

keyboard_arrow_down

Document viewer

keyboard_arrow_down

Tools UI Library

keyboard_arrow_down

Document viewer components

keyboard_arrow_down

Conversion

keyboard_arrow_down

Parsing and extraction

keyboard_arrow_down

Digital signatures

keyboard_arrow_down

Search

keyboard_arrow_down

Advanced customization

keyboard_arrow_down

Advanced topics

keyboard_arrow_down

Other frameworks

keyboard_arrow_down

Reference

keyboard_arrow_down

PDF Processing API

Page fit mode

In this document
chevron_rightPage view modes
chevron_rightSet the default page fit mode
chevron_rightSet the page fit mode dynamically

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.

linkPage 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.
e_trn_fit_widthThe zoom is set so that the page's width matches the viewer's width.
e_trn_fit_heightThe zoom is set so that the page's height matches the viewer's height.
e_trn_zoomThe viewer's zoom is not adjusted based on the page.

linkSet the default page fit mode

You can set a default page fit mode in your PDFViewCtrl by using .

linkSet the page fit mode dynamically

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