Add text markup, shapes, watermarks, and comments to PowerPoint presentations.

Annotate PowerPoint Presentations with C#

Add and manage annotations in Microsoft PowerPoint presentations programmatically — no Office installation required.

How to Annotate a PowerPoint Presentation in C#

GroupDocs.Annotation for .NET makes it easy to annotate PowerPoint presentations:

  1. Open the PowerPoint file with an Annotator instance.
  2. Create and configure the annotation you need.
  3. Add the annotation to the presentation.
  4. Save the annotated PowerPoint file.
// Annotate a PowerPoint presentation

// Open the presentation with an Annotator instance
using (Annotator annotator = new Annotator("input.pptx"))
{
    // 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 presentation
    annotator.Save("annotated.pptx");
}
dotnet add package GroupDocs.Annotation
click to copy
copied
More examples Documentation

Full Control Over PowerPoint Annotations

Add every annotation type to PowerPoint presentations and manage them with a simple API.

Annotate PowerPoint presentations

Text Markup

Highlight, underline, strike out, or replace text in PowerPoint files.

Shapes & Watermarks

Draw shapes and stamp watermarks or images onto PowerPoint slides.

Manage Annotations

Get, remove, import, and export PowerPoint annotations.

Read PowerPoint Annotations

Retrieve the annotations stored in an annotated PowerPoint presentation:

C#

//  Open the annotated presentation
using (Annotator annotator = new Annotator("annotated.pptx"))
{
    // Get all annotations
    List<AnnotationBase> annotations = annotator.Get();

    // Inspect each annotation
    foreach (AnnotationBase annotation in annotations)
    {
        System.Console.WriteLine(annotation.Message);
    }

    // Save the presentation
    annotator.Save("output.pptx");
}
dotnet add package GroupDocs.Annotation
click to copy
copied
More examples Documentation

Annotate PowerPoint Files

GroupDocs.Annotation for .NET lets you add, edit, and remove annotations in Microsoft PowerPoint presentations. Highlight text, draw shapes, stamp watermarks and images, and attach threaded comments — then save the result in the original PowerPoint format.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Annotation for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Annotate Other File Formats

GroupDocs.Annotation for .NET supports annotating documents across many file formats:

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English