Annotate Text or Images in Documents

Empower your .NET Applications to Add, Edit & Remove all Popular Annotation Types from over 50 document formats for an Easier & Efficient Collaboration.


Download Free Trial

GroupDocs.Annotation for .NET is a comprehensive set of APIs that helps you build document annotation management applications in C#, ASP.NET and other related .NET technologies. You can create and work with all popular annotation types, such as area, point, text, ellipse, link, underline, polyline, arrow, distance, watermark, image etc for PDF, HTML, Microsoft Office Word, Excel spreadsheets, PowerPoint presentations, Visio, images, CAD drawing and various other formats. The document annotator library allows you to export documents after adding annotations, comments or highlighted notes back to its original format. It also gives you a handy set of data objects through which you can customize annotations as per your requirements.

GroupDocs.Annotation for .NET Features

Support for Multiple Types of Annotation

GroupDocs.Annotation for .NET enables you to work with various types of annotations. This gives freedom and ease of communication while collaborating with your team on tasks. You can use annotations, such as, area annotation (mark an area as rectangle and add notes to it), point annotation (stick comments at any point in document), text annotation (add comment to selected text), strikeout/underline annotation (applied to a paragraph), polyline annotation (draw shapes and freehand lines), arrow annotation (arrow pointer with attached comments), ellipse annotation (display text inside the ellipse), distance annotation (draw a line that represents distance among objects), link annotation (add web links to supported document formats), and watermark annotation (text stamp or watermark can be added in document).

// Initialize list of AnnotationInfo
List<AnnotationInfo> annotations = new List<AnnotationInfo>();
// Initialize text annotation
AnnotationInfo textAnnotation = new AnnotationInfo
{
  Box = new Rectangle((float)265.44, (float)153.86, 206, 36), Type = AnnotationType.Text 
};
// Add annotation to list
annotations.Add(textAnnotation);
// Get input file stream
Stream inputFile = new FileStream("D:/input.pdf", FileMode.Open, File
.ReadWrite);
// Export annotation and save output file
CommonUtilities.SaveOutputDocument(inputFile, annotations, DocumentType.Pdf);

Support and Learning Resources

GroupDocs.Annotation offers document viewing APIs for other popular development environments

Back to top
 English