C#: Online Guide
How To: excel SDK
Thumbnail Create
Home ›› XDoc.Excel ›› C# Excel: Thumbnail Create

How to C#: Generate Thumbnail for Excel

Support Thumbnail Generation with Various Options for Quick Excel Navigation


You can navigate through Excel document in your C#.NET application via thumbnail. And generating thumbnail for Excel document is an easy work. Please see C# programming example as below.

Related .net document control helps:
c# asp.net excel document viewer: ASP.NET Excel Document Viewer in C# Control: view office excel files online in ASP.NET web applications
c# asp.net sharepoint document viewer: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
c# asp.net word document viewer: ASP.NET Office Word Document Viewer: view MS Office Word files online using C# in ASP.NET web applications
c# asp.net mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
asp.net edit pdf page using c#: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
asp.net azure pdf editor using c#: ASP.NET Azure PDF Editor Control: view, edit, annotate, redact PDF files online
asp.net pdf file permission using c#: ASP.NET PDF File Permission Control: apply, remove PDF file permission settings in C#

How to Create Thumbnail for Excel in C#

Add necessary references:











Using namespace:

  using RasterEdge.Imaging.Basic;

  using RasterEdge.XDoc.Excel;

This is a simple C# example for Excel thumbnail creation. As you see, you are allowed to define and control the size of Excel thumbnail.

XLSXDocument doc = new XLSXDocument(@"C:\1.xlsx");
BasePage page = doc.GetPage(0);
Size size = new Size(200, 200);
Bitmap bmp = page.ConvertToImage(size);