WiseJ Pdf Viewer & PDF.JS


When using PDF.JS option of the PDF viewer – where does it server the PDF.JS code from ? Is it from WiseJ DLLs or is it from somewhere else online ?

Also – if it is from WiseJ Dlls in my application, how often will it be kept up to date (the PDF.js code)?

  • You must to post comments

Hi Edmond,

you can host and personalize the viewer simply by copying pdf.js and use the custom option.

Use code like this:

this.pdfViewer1.ViewerType = Wisej.Web.PdfViewerType.Custom;
this.pdfViewer1.ViewerURL = “pdfjs-1.9.426/web/viewer.html?file=[source]”;

This is for the Mozilla Viewer:

MOZILLA_VIEWER_URL: “//mozilla.github.io/pdf.js/web/viewer.html”,

Hope that helps.

Best regards

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.