Export annotations

On this page

GroupDocs v22.1 allows you to export annotations from a document to an XML file.

The following code snippet shows how to export annotations:

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");
}

On this page