Jump to content

Unigui PDF Viewer DEMO


Recommended Posts


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


Link to comment
Share on other sites

  • 9 months later...
  • 1 year later...
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"



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...