C#: Online Guide
How To: excel SDK
Annotate Excel
  |  
Home ›› XDoc.Excel ›› C# Excel: Annotate Excel

C# Excel - Annotate Excel File Page in C#.NET


Annotate Excel Document Page in C# Project



itextsharp insert image in pdf vb.net, azure function create pdf, how to add page numbers in pdf using itextsharp c#, convert pdf to jpg c# codeproject, vb.net add text to pdf, generate qr code in c#.

Related .net document control helps:
c# asp.net mvc document viewer: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
c# asp.net image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
c# 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 document viewer open source: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net mvc pdf editor using c#: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
c# asp.net tiff viewer: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net pdf viewer using c#: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET


Overview



RasterEdge XDoc.Excel Library provides some methods for developers to annotate on Excel file pages. While, in order to add various annotations, you will add reference RasterEdge.Imaging.Annotation to your project. c# create pdf with password, vb.net get pdf page count, print preview pdf c#, vb.net pdf sdk, vb.net modify pdf file, c# get pdf font, c# generate pdf from html template.


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



Add necessary 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.Excel.dll


  RasterEdge.XImage.Raster.Core.dll


  RasterEdge.XImage.Raster.dll


  RasterEdge.Imaging.Annotation.dll


Using namespace:


  using RasterEdge.Imaging.Basic;


  using RasterEdge.XDoc.Excel;


  using RasterEdge.Imaging.Annotation;


  using RasterEdge.Imaging.Annotation.Basic;


  using System.Drawing;


Add rubber stamp annotation to Excel file page using C#. pdf viewer in mvc 4, asp.net multipage tiff viewer, asp.net pdf preview, asp.net open excel file, asp net add text to pdf, asp.net pdf viewer disable save, asp.net edit pdf.




XLSXDocument doc = new XLSXDocument(@"C:\1.xlsx");
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.xlsx");