We're using PDFTron for Windows 8 within a WinJS application as a POC for a client but currently experience some anomalies when trying to save an annotated document to disk.
From what we found, the best route to go would be to store the annotations as a separate file and then overlaying said file when the user browses back to the document. However, as there are very little documentations regarding the use of PDFTron in WinJS are we no closer to resolving this issue. We tried to save the stream as XFDF file, but due to the stream being locked by WinJS at that particular moment have no way of getting the document saved correctly.
Is this even possible in WinJS, assuming it would be? Our POC is the use of PDFTron which the client is currently using in their native iOS application and would most certainly retain this throughout all of the future applications, but if we're limited in WinJS, would need to look at something else.