Selecting page view mode when switching pages

20 views
Skip to first unread message

Tomas Hofmann

unread,
Jun 2, 2016, 4:56:26 PM6/2/16
to PDFTron PDFNet SDK
Q: If the PagePresentationMode is e_single_page and the PDFViewCtrlPageViewMode is e_fit_width, when I go to a different page, the PDFViewCtrlPageViewMode is reset.

A: This happens in our mobile builds only (on desktop builds, the zoom level is maintained). To govern the page view mode when you switch pages in e_single_page mode, you need to set PDFViewCtrl.SetPageRefViewMode. Each time you flip pages, the PDFViewCtrl will reset the view to the view mode from SetPageRefViewMode.
Reply all
Reply to author
Forward
0 new messages