Skip to content

Instantly share code, notes, and snippets.

@sonlexqt
Created May 12, 2020 08:27
Show Gist options
  • Save sonlexqt/de04443ea8769cb2086a1a10c2ac625f to your computer and use it in GitHub Desktop.
Save sonlexqt/de04443ea8769cb2086a1a10c2ac625f to your computer and use it in GitHub Desktop.
XFDF String of a deleted annotation (that doesn't work when passed into importAnnotationCommand method)
"<?xml version="1.0" encoding="UTF-8"?>
<xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
<add />
<modify />
<delete>
<id>-M76yKMtZ86qZIsrepwV</id>
</delete>
<pdf-info import-version="3" version="2" xmlns="http://www.pdftron.com/pdfinfo" />
</xfdf>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment