Hi,
I am using the code sample provided in the below link:
How load a PDF in a PDF viewer along with annotations file
The document is loaded with annotations correctly in the PDF viewer. However, when I export the annotations again, the TextMarkupContent attribute is missing/null in the exported xfdf/json file.
If you add a new annotation in the loaded document and export the annotations as xfdf/json file, the TextMarkupContent attribute is showing correctly for newly added annotation. But, for the annotations loaded along with the document is still missing.
Please let me know how to resolve this issue.
Thanks
We were able to reproduce the reported scenario “TextMarkupContent attribute is null/Missing in the exported XFDF and JSON file” and suspect this to be a defect. We will validate it and update further details in two business days on January 25, 2023.
We have confirmed the issue "TextMarkupContent attribute is null/missing in the exported XFDF and JSON file" and logged it as a defect. The fix for the issue will be available in our upcoming weekly NuGet release on February 15, 2023. You can track the status of the issue through the following link.
Feedback link: TextMarkupContent attribute is null/missing in the exported XFDF and JSON file | Issue Feedback
Disclaimer: "Inclusion of this solution in the weekly
release may change due to other factors including but not limited to QA checks
and works reprioritization."
Sorry for the inconvenience. The fix for the reported issue was not included in our latest weekly release. However, it will be included in our upcoming weekly release on February 22, 2023.
We have fixed the reported issue "TextMarkupContent attribute is null/missing in the exported XFDF and JSON file" and the fix for the reported issue was included in our latest weekly release v20.4.0.51. Kindly upgrade to that version to get the issue resolved.
Packages:
CDN Links: