PDFViewCtrl page presentation mode

In this document

PDFViewCtrl supports a number of page layouts (presentation modes)

Page presentation modeDescription
SINGLEDisplays one page at a time, swiping left and right to change pages.
SINGLE_CONTDisplays one page at a time, scrolling up and down to change pages.
FACINGDisplays two pages at a time, with odd-numbered pages on left, swiping left and right to change pages.
FACING_CONTDisplays pages in two columns, with odd-numbered pages on left, scrolling up and down to change pages.
FACING_COVERDisplays two pages at a time, with odd-numbered pages on right (non-continuous mode), swiping left and right to change pages.
FACING_COVER_CONTDisplay pages in two columns, with odd-numbered pages on right, scrolling up and down to change pages.

Setting page presentation mode

To set page presentation mode, call PDFViewCtrl.setPagePresentationMode(PagePresentationMode):

// set facing cover continuous mode to page presentation mode.
  mPdfViewCtrl.setPagePresentationMode(PDFViewCtrl.PagePresentationMode.FACING_COVER_CONT);

where mPdfViewCtrl is an instance of PDFViewCtrl.