XDoc.Excel
Features
Tech Specs
How-to C#
Pricing

C# Excel Library
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.


How to Create Thumbnail for Excel in C#



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