C#: Online Guide
How To: powerpoint SDK
Annotate PowerPoint
  |  
Home ›› XDoc.PowerPoint ›› C# PowerPoint: Annotate PowerPoint

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


Annotate PowerPoint Document Page in C# Project




Overview



RasterEdge XDoc.PowerPoint Library provide some methods for developers to annotate on PowerPoint pages. add pages to pdf c#, extract data from pdf c#, reduce pdf file size in c#, c# pdf printing library, pdf editor in c#, c# pdf 417 reader. While, in order to add various annotations, you will add reference RasterEdge.Imaging.Annotation to your project.


Related .net document control helps:
asp.net document viewer: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
asp.net pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
asp.net pdf document viewer: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
asp.net excel web viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net document viewer c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
asp.net image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery


Types of comments supported as follows: how to create report in pdf using c#, vb.net split pdf, add watermark to pdf using itextsharp c#, convert bmp to pdf c#, pdf to jpg vb.net, c# pdf embed font, c# remove images from pdf.


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 Annotation to PowerPoint Page Using C#



Add references:


  RasterEdge.Imaging.Basic.dll


  RasterEdge.XDoc.Office.Inner.Common.dll


  RasterEdge.Imaging.Drawing.dll


  RasterEdge.Imaging.Processing.dll


  RasterEdge.XDoc.Office.Inner.Office03.dll


  RasterEdge.Imaging.Font.dll


  RasterEdge.XDoc.PowerPoint.dll


  RasterEdge.XImage.Raster.Core.dll


  RasterEdge.XImage.Raster.dll


  RasterEdge.Imaging.Annotation.dll


Using namespace:


  using RasterEdge.Imaging.Basic;


  using RasterEdge.XDoc.PowerPoint;


  using RasterEdge.Imaging.Annotation;


  using RasterEdge.Imaging.Annotation.Basic;


  using System.Drawing;


Add rubber stamp annotation to PowerPoint page using C#. asp net replace text from pdf javascript, pdf reader in asp.net c#, asp.net remove image from pdf file, pdf viewer in mvc 4, asp.net pdf editor component, free pdf preview in asp net c#, asp.net core image view.




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