Hi Nathaniel,
Thanks for sharing me your code. I found one thing that was missing in your code
this.webViewerInstance.loadDocument(this.previewBlob, { filename: this.file.name });
Based on the API document of loadDocument() function:
You may want to add extension
in the options parameters. Check the API document for more details: https://www.pdftron.com/api/web/WebViewerInstance.html#loadDocument__anchor
If this doesn’t work, you can also try converting the file byte array into a string UTF-8 and then reconverting it.
Let me know if this helps.
Best Regards,
Oscar Zhang
Software Developer
PDFTron Systems, Inc.
www.pdftron.com