Extract annotations from document

GroupDocs.Annotation provides an ability to extract annotations from document.
To achieve this you should:

The following code demonstrates how to extract annotations metadata from document:

// for using this example input file ("annotated.pdf") must be with annotations
LoadOptions loadOptions = new LoadOptions();

final Annotator annotator = new Annotator("annotated.pdf", loadOptions);
List<AnnotationBase> annotations = annotator.get();

More resources

Advanced Usage Topics

To learn more about document annotating features, please refer to the advanced usage section.

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 Java 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.