GroupDocs.Annotation for .NET makes it easy to annotate PDF documents:
- Open the PDF with an Annotator instance.
- Create and configure the annotation you need.
- Add the annotation to the document.
- Save the annotated PDF.
GroupDocs.Annotation for .NET makes it easy to annotate PDF documents:
// Annotate a PDF document
// Open the PDF with an Annotator instance
using (Annotator annotator = new Annotator("input.pdf"))
{
// Create an area annotation
AreaAnnotation area = new AreaAnnotation
{
Box = new Rectangle(100, 100, 200, 80),
BackgroundColor = 65535,
PageNumber = 0,
Message = "Important"
};
// Add the annotation
annotator.Add(area);
// Save the annotated PDF
annotator.Save("annotated.pdf");
}
Add every annotation type to PDF documents and manage them with a simple API.

Highlight, underline, strike out, or replace text in PDF files.
Draw shapes and stamp watermarks or images onto PDF pages.
Get, remove, import, and export PDF annotations.
// Open the annotated PDF
using (Annotator annotator = new Annotator("annotated.pdf"))
{
// Get all annotations
List<AnnotationBase> annotations = annotator.Get();
// Inspect each annotation
foreach (AnnotationBase annotation in annotations)
{
System.Console.WriteLine(annotation.Message);
}
// Save the document
annotator.Save("output.pdf");
}
Download GroupDocs.Annotation for free or get a trial license for full access!
Explore documentation, code samples, and community support to enhance your experience.
GroupDocs.Annotation for .NET supports annotating documents across many file formats:

