Some test text!

menu
MIME typeskeyboard_arrow_down

MIME types

If you see a 404 for files on your server but you're very sure that the files are there then you may need to set MIME types for certain file extensions used by WebViewer. With IIS you will generally need to do this and the process may vary slightly depending on your server.

Regardless of the documents that you're loading you'll need to add the MIME type for json files (application/json) so that the UI text is loaded. If you see buttons or labels in the UI with names like controlbar.fullScreen then that means the json file wasn't loaded successfully.

linkXOD

You'll need to add xod with a MIME type of application/octet-stream or application/vnd.ms-xpsdocument

linkPDF and Office

ExtensionMIME Type
resapplication/octet-stream
pexeapplication/x-pnacl
nmfapplication/octet-stream
memapplication/octet-stream
wasmapplication/wasm
jsonapplication/json

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.