Export annotations

Starting from version 22.1 it is possible to export annotations from an XML file.

Here is the example of the code:

using (Annotator annotator = new Annotator("input.pdf-file")) // specify the path to the input PDF file
{
	annotator.ExportAnnotationsFromXMLFile("input.XML-file"); // specify the path to the input XML file
    annotator.Save("result_export");
}

More resources

GitHub Examples

You may easily run the code above and see the feature in action in our GitHub examples:

Free Online App

Along with full-featured .NET library we provide simple but powerful free Apps. You are welcome to annotate your PDF, DOC or DOCX, XLS or XLSX, PPT or PPTX, PNG and other documents with free to use online GroupDocs Annotation App.