Some test text!

menu
search
Scroll directionkeyboard_arrow_down

Scroll direction

When scrolling through pages of a document in PDFViewCtrl, the scrolling direction can be changed by setting the page layout mode.

linkVertical scrolling

Vertical scrolling mode (also known as continuous mode) can be enabled by setting the page presentation mode to either SINGLE_CONT, FACING_CONT, or FACING_COVER_CONT.

Here's what setting the page presentation mode to vertical scrolling looks like:

Vertical scrolling
// with PdfViewCtrlTabHostFragment
PdfViewCtrlSettingsManager.updateViewMode(activity, PdfViewCtrlSettingsManager.KEY_PREF_VIEWMODE_CONTINUOUS_VALUE);
// with PDFViewCtrl
pdfViewCtrl.setPagePresentationMode(PDFViewCtrl.PagePresentationMode.SINGLE_CONT);

linkHorizontal scrolling

Horizontal scrolling mode (also known as non-continuous mode) can be enabled by setting the page presentation mode to either SINGLE, FACING, or FACING_COVER.

Here's what setting the page presentation mode to horizontal scrolling looks like:

Horizontal scrolling
// with PdfViewCtrlTabHostFragment
PdfViewCtrlSettingsManager.updateViewMode(activity, PdfViewCtrlSettingsManager.KEY_PREF_VIEWMODE_CONTINUOUS_VALUE);
// with PDFViewCtrl
pdfViewCtrl.setPagePresentationMode(PDFViewCtrl.PagePresentationMode.SINGLE_CONT);

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

PDFTron Receives USD$71 Million Growth Investment Led By Silversmith Capital Partners

Learn more
close