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
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");