Document Annotation via Java API

Build Java Applications with capabilities to View & Annotate PDF, HTML, MS Office and other document formats without installing any external software.

  Download Free Trial
Java document annotation API

GroupDocs.Annotation for Java


GroupDocs.Annotation for Java API provides easy to use document, annotation management, and manipulation functionality to be used in your Java-based business applications. Our Java annotator library allows you to work with many types of annotations, which include text, polyline, area, underline, point, watermark, arrow, ellipse, text replacement, distance, text field, resource redaction etc. It also offers a comprehensive set of data objects to customize annotation properties as per your requirements within all supported document formats including: PDF, HTML, Microsoft Office Word, Excel spreadsheets, PowerPoint presentations, Visio, Outlook emails, images, metafiles, CAD drawing and various other formats.

The API provides the ability to get thumbnails of document pages and supports importing and exporting annotation to and from PDF files.

GroupDocs.Annotation for Java Features



Add Area Annotation in Document and Link Simple & Nested Comments


Point to a Particular Content using Arrow Annotation


Set Text Watermarks to PDF, Slides, Excel Worksheets, Images & Diagrams at Angled Position


Add Popup Comments to any Place in the Document using Point Annotation


Use Polyline Annotation to Connect Sequence of Line Segments, Arc Segments or both


Add Ellipse Annotation to PDF, Word Documents, Spreadsheets, Presentations, Diagrams & Images


Add Angled Watermarks for PDF, PowerPoint, Excel, Images & Diagrams


Fetch Coordinates of Text Annotation in Image Representation of a Document


Underline, Strikethrough or Modify Specific Text in a Document


Add Text Stamp or Watermark & Text Field in a Document


Import & Export Annotations among Word Documents & PowerPoint Presentations


Annotate Excel Spreadsheets with Text, TextReplacement, Watermark & Resource Redaction Annotation types


Add Polyline, Strikethrough, Underline or Text Annotations to PowerPoint Presentations and Slides


Mark Point Annotation in Presentations using X, Y Coordinates


Add Strikethrough, Text, Underline or Polyline Annotations to Images


Fetch Document Information & Images for Visio Diagrams, such as VSS & VSD


Perform Annotation Management (Add, Modify & Delete Annotations) Tasks using Data Storage


Get Thumbnails of the Document Pages & Work with Multi-page TIFF files


Assign Access Rights to Users for Allowed Annotation Actions


Fetch all Annotation of a Document with a Single Function Call


Add Link Annotations to PDF, Word & PowerPoint Presentations


SVG Path Parsing support for PDF, Word, Diagrams, Slides and other major document formats


Support for adding Watermark Annotation to Word documents and cleanup for Text Replacement


Shape Processing support in Diagrams for Text Annotations


Save Time by Caching Page Previews of Documents for Faster Processing


Easily Annotate Word, Excel and PowerPoint Documents even with Older Formats


Display Distance Annotation Captions for Excel, PowerPoint and Diagrams

Configurable Data Object Properties

GroupDocs.Annotation for Java API consists of an extensive collection of data objects with configurable properties, used in data storage. These properties include, Annotation (coordinates, dimensions, type, color, frame style, background color etc.), Annotation Collaborator (ID, document, access rights etc.), Annotation Reply (reply, parent annotation, GUID, message, time etc.), Document (GUID, name, owner, type, access rights etc.), User (ID, nick, email, password, photo etc.).

User Rights Access Management

GroupDocs.Annotation for Java API empowers you to easily manage user rights for accessing annotations. You can assign or revoke user access rights by configuring properties, such as View, Annotate, Download, Export, Delete etc.

Support and Learning Resources


GroupDocs.Annotation offers document automation APIs for other popular development environments as listed below: