Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

pdf.js get current page number

// Go to page 5
PDFViewerApplication.pdfViewer.currentPageNumber = 5;

// Move two pages forward
PDFViewerApplication.pdfViewer.currentPageNumber += 2;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #current #page #number
ADD COMMENT
Topic
Name
5+1 =