General question about PDFtron. Is it possible to access the layers in the webviewer to be saved into a local file or database (so I could save my markups) and is it possible to add my own drawing tools and shapes if I wanted to to the webviewer as well?
FYI, I just downloaded PDFTron to see if it was suitable for my needs.
Thank-you for trying out WebViewer.
It is possible to access the layers in WebViewer through this API: https://www.pdftron.com/api/web/CoreControls.Document.html#getLayersArray__anchor .
From there, I believe with that data, you should be able to grab the information you need so that it can be saved to the file or database.
Here is a guide that shows how you can create a custom shape and custom tool: https://www.pdftron.com/documentation/web/guides/annotation/custom-annotations?searchTerm=custom%20annotation .
PDFTron Systems Inc.