PDFtron version 7 to version 10 migration is producing the error mentioned above.
How to resolve this error and how to retain existing functionality?
Thanks in Advance
PDFtron version 7 to version 10 migration is producing the error mentioned above.
How to resolve this error and how to retain existing functionality?
Thanks in Advance
As mentioned in the comments, updating from version 7 to the latest version 10 will require going through each of the changelogs between your previous version and new version. It depends on which exact version you are migrating from, but you could start by looking at version 7.0.1 and then all the way up to 10.0.0.
For your case specifically, you should look at the PTDocumentController class as it provides a drop-in viewer component that handles all of the UI setup and management (and therefore also already handles most API changes between versions for you). This is the recommended approach for the majority of use cases and projects.