ZhangLazarus Posted June 27, 2014 Posted June 27, 2014 Unigui PDF Viewer (No plug-ins, do not need to install the PDF client, support for multiple languages) Unigui PDF Viewer DEMO.rar 3 Quote
rencarnacion Posted June 27, 2014 Posted June 27, 2014 Excellent, Congratulations Ronny Encarnacion Quote
stas Posted June 27, 2014 Posted June 27, 2014 http://forums.unigui.com/index.php?/topic/4219-a-pdf-viewer-panel-no-browser-plugin-required-pure-javascript/ Quote
ZhangLazarus Posted June 28, 2014 Author Posted June 28, 2014 http://forums.unigui.com/index.php?/topic/4219-a-pdf-viewer-panel-no-browser-plugin-required-pure-javascript/ Chinese support is not good, some fonts cannot support. You can try to download the "Unigui PDF Viewe DEMO.rar" in the PDF file to your project, part of the text cannot be displayed. But my DEMO is the normal work of the Quote
ZhangLazarus Posted September 5, 2016 Author Posted September 5, 2016 Viewer options Below are the options for the PDF.js viewer that can be given at URL level. Multiple values of either type can be combined by separating with an ampersand (&) after the hash (for example: #page=2&zoom=200). Options after the #Example: http://mozilla.github.io/pdf.js/web/viewer.html#page=2 page: page number. Example: page=2 zoom: zoom level. Example: zoom=200 (accepted formats: `[zoom], ,[top]`, `page-width`, `page-height`, `page-fit`, `auto`) nameddest: go to a named destination pagemode: either "thumbs" or "bookmarks". Example: pagemode=thumbs Options after the ?Example: http://mozilla.github.io/pdf.js/web/viewer.html?file=compressed.tracemonkey-pldi-09.pdf file: the path of the PDF file to use (must be on the same server due to JavaScript limitations). Please notice that the path/URL must be encoded using encodeURIComponent(), e.g. "/viewer.html?file=%2Fpdf.js%2Fweb%2Fcompressed.tracemonkey-pldi-09.pdf" Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.