pdfSetDisplayMode
Set the page display mode.
void pdfSetDisplayMode(PDFViewerHandle viewer, int mode)
XpdfViewer has five page view modes. This function is used to switch
between them. The available modes are:
pdfDisplaySingle
- display a single page at a time; the vertical scrollbar spans only one pagepdfDisplayContinuous
- display pages stacked vertically; the vertical scrollbar spans the entire documentpdfDisplaySideBySideSingle
- display two facing pages at a time; the vertical scrollbar spans the taller of the two pagespdfDisplaySideBySideContinuous
- display facing pages, stacked vertically; the vertical scrollbar spans the entire documentpdfDisplayHorizontalContinuous
- display pages stacked horizontally; the horizontal scrollbar spans the entire document
C:
pdfSetDisplayMode(viewer, pdfDisplayContinuous);