I have annotation data coming from external system in custom JSON format. I want to know if PDFTron has any APIs to create annotation data in XFDF format and merge it with PDF. Please share API details if any.
At this time, we do not have API’s to create XFDF files directly. Instead, you could parse the custom JSON, and create a blank PDF with the annotations (and add pages accordingly).