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

How to C#: Generate Thumbnail for Word

Support Thumbnail Generation with Various Options for Quick Word Navigation


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

Related .net document control helps:
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 mvc pdf editor: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
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 excel viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
asp.net image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
asp.net mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects

How to Create Thumbnail for Word in C#

Add necessary references to your C#.NET project:











Use corresponding namespaces;

  using RasterEdge.Imaging.Basic;

  using RasterEdge.XDoc.Word;

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

DOCXDocument pdf = new DOCXDocument(@"C:\1.docx");
BasePage page = pdf.GetPage(0);
Size size = new Size(200, 200);
Bitmap bmp = page.ConvertToImage(size);