right download for PDFNetJS Core SDK

204 views
Skip to first unread message

Eduard Ghazanchyan

unread,
Nov 22, 2016, 1:09:53 PM11/22/16
to PDFTron WebViewer
Hello.

Our company has recently purchased the "OEM Redistributable License of PDFNetJS Core SDK (Web)". So we are little bit confused which version we need to download. The email we received together with the license key, stated, we can download webviewer from this URL: www.pdftron.com/webviewer/downloads.html and I believe this is the version, which contains Core SDK, at least the lib file in this package is called PDFNetCFull.js.

But in this case, even if pdfnet: true is passed to webviewer object, PDFNet is not loaded, and you can't access window.PDFNet within iframe's context.

On the other hand, if we download PDFNetJS Full from the following url https://www.pdftron.com/pdfnet/pdfnetjs/ , it's injected and can be accessed within the iframe.

Basically we have no strict preference and can use this version as well, just we have noticed that when using webviewer's bundle, pdf documents are loaded slightly faster, plus it's more lightweight in terms of size.

So the question is, if this is the supposed behavior, and do we need to only PDFNetJS Full in case our code uses PDFNet API functions.

Thanks,
Eduard.

Matt Parizeau

unread,
Nov 23, 2016, 2:39:59 PM11/23/16
to PDFTron WebViewer
Hi Eduard,

See this post for more information about the differences between the versions https://groups.google.com/d/msg/pdfnet-webviewer/Ar_0xza7eSU/ma_RkSIXBwAJ

But the short answer is that yes, you only need to use the full version if you're using the low level PDFNet API functions.

Matt Parizeau
Software Developer
PDFTron Systems Inc.
Reply all
Reply to author
Forward
0 new messages