C#: Online Guide
How To: powerpoint SDK
Thumbnail Create
  |  
Home ›› XDoc.PowerPoint ›› C# PowerPoint: Thumbnail Create

How to C#: Generate Thumbnail for PowerPoint


Support Thumbnail Generation with Various Options for Quick PowerPoint Navigation



Related .net document control helps:
c# asp.net dicom document viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
c# asp.net webforms document viewer: ASP.NET WebForms application document viewer control: view, annotate, redact, convert files online in ASP.NET
c# asp.net powerpoint document viewer: ASP.NET PowerPoint Document Viewer Control: view pptx files online in C# using ASP.NET
c# asp.net dnn document viewer: DNN Document Viewer Control: view, annotate, redact, convert documents in dotnetnuke ASP.NET
c# asp.net iis document viewer: C# HTML5 Viewer: Deployment on IIS
c# asp.net sharepoint document viewer: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
c# asp.net tiff document viewer: ASP.NET Tiff Document Viewer: view, annotate Tiff files in HTML using C# Control


Overview



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




How to Create Thumbnail for PowerPoint in C#



Add references:


  RasterEdge.Imaging.Basic.dll


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


  RasterEdge.XImage.Raster.Core.dll


  RasterEdge.XImage.Raster.dll


Using namespace:


  using RasterEdge.Imaging.Basic;


  using RasterEdge.XDoc.PowerPoint;


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




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