Skip to content
@groupdocs-annotation

GroupDocs.Annotation Product Family

Manage interactive and explanatory annotations to specific words, phrases and regions of the documents content in any cross platform application

GroupDocs.Annotation

Enterprise Document Annotation API for PDFs, Office files, images, and CAD

GroupDocs.Annotation embeds collaborative annotation into your apps. Add, import, export, render, and manage comments, highlights, redactions, watermarks, and drawings across PDF, DOCX, PPTX, XLSX, images, CAD, and more—without external tools.

Product Page Docs Demos API Blog Search Support Temp License

Latest Annotation News & Updates

  • Released GroupDocs.Annotation 26.6 for .NET, Java, and Python via .NET — see the release notes for the latest fixes and improvements.
  • New Python via .NET port: annotate PDF, Office, image, and CAD files from Python with no Microsoft Office or Adobe Acrobat required.
  • Refreshed code examples and documentation across all three platforms.

Supported Platforms & Repository Groups

.NET Document Annotation (C#, ASP.NET, WinForms, Services)

Server-side API to render, add, edit, remove, import, export, and search annotations in Office, PDF, images, and CAD.

// Add annotations to a PDF and save only annotated pages
using (var annotator = new Annotator("input.pdf"))
{
    var area = new AreaAnnotation
    {
        Box = new Rectangle(100, 100, 140, 120),
        BackgroundColor = 65535,   // colors are ARGB integers
        PageNumber = 0             // PageNumber is 0-based
    };

    var ellipse = new EllipseAnnotation
    {
        Box = new Rectangle(200, 140, 120, 120),
        BackgroundColor = 16711680,
        PageNumber = 2
    };

    annotator.Add(new List<AnnotationBase> { area, ellipse });
    annotator.Save("result.pdf", new SaveOptions { OnlyAnnotatedPages = true });
}

Java Document Annotation (Maven, Spring)

Native Java library for adding, rendering, and exporting annotations across PDF, Office, images, and CAD.

// Quick Java example: add a highlight and save
try (Annotator annotator = new Annotator("contract.pdf")) {
    HighlightAnnotation highlight = new HighlightAnnotation();
    highlight.setPageNumber(0);  // page numbers are 0-based
    highlight.setPoints(Arrays.asList(
        new Point(80, 120), new Point(220, 120),
        new Point(220, 150), new Point(80, 150)
    ));
    annotator.add(highlight);
    annotator.save("contract-annotated.pdf");
}

Python Document Annotation (Python via .NET)

Python wrapper over the .NET engine — add, get, remove, import/export annotations and threaded comments across PDF, Office, images, and CAD, with no MS Office installation required.

# Add an area annotation to a PDF and save the result
from groupdocs.annotation import Annotator
from groupdocs.annotation.models import Rectangle
from groupdocs.annotation.models.annotation_models import AreaAnnotation
from groupdocs.pydrawing import Color

with Annotator("input.pdf") as annotator:
    area = AreaAnnotation()
    area.box = Rectangle(100, 100, 140, 120)
    area.background_color = Color.yellow.to_argb()  # colors are ARGB integers
    area.page_number = 0                             # page_number is 0-based
    annotator.add(area)
    annotator.save("result.pdf")

Business Use-Cases

  • Review and approval workflows with highlights, stamps, and threaded comments.
  • Legal and compliance redaction of sensitive text and regions before sharing.
  • Engineering and architecture markups on CAD drawings with shapes and measurements.
  • Customer support and QA feedback directly on product docs, manuals, and images.
  • Publishing workflows: watermarking drafts, exporting annotations, and creating thumbnails.

API Key Features & Benefits

  • 40+ formats: PDF, DOCX/DOC, XLSX/XLS, PPTX/PPT, VSDX/VSD, DWG/DXF, TIFF/JPG/PNG/BMP, HTML, MSG/EML, ODT/ODS/ODP, RTF, TXT, CSV, and more.
  • Annotation objects: area, point, polyline, distance, ellipse, arrow, text field; highlight, underline, strikeout, replacement, link; diagonal/horizontal watermarks.
  • Import/export: load existing annotations, export to the original format, or serialize annotations to XML.
  • Rendering: view documents as images, generate previews/thumbnails, and render specific pages or regions.
  • Loading & cache: load documents from local disk, stream, URL, Amazon S3, Azure Blob, or FTP, with a built-in local cache and pluggable custom cache providers.
  • Security & control: password-protected files, page-range processing, remove or update annotations programmatically.

Supported Formats

  • Office: DOC, DOCX, DOCM, DOT, DOTM, DOTX, RTF; XLS, XLSX, XLSM, XLSB; PPT, PPTX, PPS, PPSX; VSD, VSDX, VSS, VST
  • Portable: PDF (including PDF/A profiles)
  • Images: TIF, TIFF, JPG, JPEG, PNG, BMP
  • CAD: DWG, DXF
  • Email: EML, MSG
  • Web & Other: HTML, ODT, ODS, ODP, DCM, TXT

Getting Started

  • .NET: Install-Package GroupDocs.Annotation or dotnet add package GroupDocs.Annotation
  • Java: Add the groupdocs-annotation dependency from the GroupDocs Repository.
  • Python (via .NET): pip install groupdocs-annotation-net
  • Run sample projects in the repositories above to annotate PDFs, Office docs, images, or CAD files.

Technical Support & Resources

Tags

document-annotation pdf-annotation office-annotation cad-annotation image-annotation redaction watermarking commenting markup review-workflows collaborative-annotation document-viewer annotation-sdk dotnet-annotation java-annotation pdf-commenting docx-annotation ppt-annotation xls-annotation web-annotation render-annotations

Pinned Loading

  1. GroupDocs.Annotation-for-.NET GroupDocs.Annotation-for-.NET Public

    GroupDocs.Annotation for .NET examples, plugins and showcase projects

    9 14

  2. GroupDocs.Annotation-for-Java GroupDocs.Annotation-for-Java Public

    GroupDocs.Annotation for Java examples, plugins, and showcase

    Shell 8 4

  3. GroupDocs.Annotation-Docs GroupDocs.Annotation-Docs Public

    Batchfile 6

  4. GroupDocs.Annotation-Products GroupDocs.Annotation-Products Public

    products.groupdocs.com/annotation landing pages sources

    Shell 4

Repositories

Showing 10 of 17 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…