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

C# Excel - Insert Image to Excel File Page in C#.NET


Insert Image to Excel Document Page in C# Project



c# read barcode scanner usb, c# convert pdf to tiff itextsharp, how to merge two pdf files in c# using itextsharp, compress pdf file size in c#, add watermark text to pdf using itextsharp c#, c# code 128 reader.

Related .net document control helps:
asp.net pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using 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: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
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 tiff viewer: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
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...


Overview



RasterEdge XDoc.Excel Library provides some methods for developers to insert image to Excel file pages. While, if you want to insert various type image, you may need add the reference RasterEdge.XImage.Raster.dll into your project. If not, you can only add bitmap to the  Excel document page(s). c# add stamp to pdf, c# rotate pdf document, how to delete a page from a pdf in c#, pdf annotator c# free, c# get pdf font, reduce pdf file size in c#, vb.net convert tiff to pdf.




Add Image to Excel File Page Using C#



preview pdf in asp.net, asp net replace text from pdf javascript, asp.net remove image from pdf file, pdf viewer in asp.net using c#, asp.net edit pdf, asp.net mvc pdf viewer free, asp.net mvc open word document in browser.



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.Basic.Codec.dll


Using namespace:


  using RasterEdge.Imaging.Basic;


  using RasterEdge.XDoc.Excel;


  using RasterEdge.Imaging.Raster.Core;


Add image to Excel file page using C#.




XLSXDocument doc = new XLSXDocument(@"C:\1.xlsx");
BasePage page = doc.GetPage(0);
REImage image = new REImage(@"C:\logo2.jpg");
page.AddImage(image, new Point(100, 100));
doc.Save(@"C:\1image.xlsx");