XDoc.PowerPoint
Features
Tech Specs
How-to C#
Pricing

C# PowerPoint Library
Annotate PowerPoint Page in C#.NET


Annotate PowerPoint Document Page in C# Project



RasterEdge XDoc.PowerPoint Library provide some methods for developers to annotate on PowerPoint pages. While, in order to add various annotations, you will add reference RasterEdge.Imaging.Annotation to your project.

Types of comments supported as follows:
  • Rectangle
  • Ellipse
  • Line
  • Freehand
  • Freehand Lines
  • Text
  • Rectangular Hot Spot
  • Freehand Hot Spot
  • Embedded Image
  • Referenced Image
  • polygon
  • Lines
  • Rubber Stamp
  • Callout
  • Arrow
  • Signature


How to annotate, markup Microsoft Office PowerPoint document using C#?

  1. Download XDoc.PowerPoint C# PPTX document library
  2. Install C# PPTX library to annotate, markup Microsoft PowerPoint file in .NET applications
  3. Step by Step Tutorial












Add Annotation to PowerPoint Page Using C#

Add rubber stamp annotation to PowerPoint page using C#.

PPTXDocument doc = new PPTXDocument(@"C:\1.pptx");
BasePage page = doc.GetPage(0);
Font font = new Font("Arial", 15F);
AnnotationBrush brush = new AnnotationBrush();
AnnotationHandler annotation = AnnotationGenerator.CreateRubberStampAnnotation(10, 10, 100, 100, "Good", font, brush);
page.AddAnnotation(annotation);
doc.Save(@"C:\1anno.pptx");