Guide for C#
Core Document Formats
PowerPoint to REImage
Additional Features

C# PowerPoint - Render to REImage Tutorial

C# Code to Convert PPT to REImage in the Process of PPT to Image Conversion

Visual C#
Home > .NET Imaging SDK > C# > PowerPoint: Render to REImage
If this is your first time to use our DocImageSDK, we strongly suggest you reading How to Start first!

C# PowerPoint to Image Conversion
Without using any external PowerPoint plug-in, this .NET PowerPoint to image converting library SDK allows C# developers to convert PowerPoint to other common document and image formats (slide by slide). During the process of rendering and converting PowerPoint to image files, you need to render and convert PowerPoint slide to REImage object first.
Related .net document control helps:
asp.net pdf viewer control free: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net pdf editor component: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
document viewer asp.net c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
asp.net image viewer jquery: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
asp.net dicom web viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
asp.net mvc pdf editor control: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
asp.net document viewer free: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
This C# online tutorial page will tell you how to convert PowerPoint to REImage from following aspects. REImage is an image object defined by RasterEdge .NET Imaging SDK for C#.
  • Feature list of C#.NET PowerPoint converting add-on SDK
  • C#.NET APIs and sample code for PowerPoint to REImage conversion
  • Recommended C#.NET tutorials for other PowerPoint-related converting applications
C#.NET PowerPoint Converter SDK Features
To be specific, .NET PowerPoint Converter SDK should includes these DLLs of DocImage SDK for .NET package: RasterEdge.Imaging.Basic.dll, RasterEdge.Imaging.Basic.Codec.dll, RasterEdge.Imaging.MSPPT.dll. Note, to convert PowerPoint to PDF, SVG or TIFF, resepecive .NET Document Add-on DLLs should be used.
  • All PowerPoint document files that end with .pptx are supported by this C# PowerPoint converting SDK
  • Allow developers to convert PowerPoint to multiple document and image types using C# code
  • Achieve high-fidelity PowerPoint to image conversion in .NET Framework 2.0 and later versions
  • REImage rendered by this C# PowerPoint converter SDK can be customized using C# APIs
To get VB.NET APIs and sample code to render PPT slide to REImage, please view VB.NET PPT to REImage rendering guide.
C# APIs to Convert PowerPoint to REImage Object
Following C#.NET APIs are provided to help developers render whole PowerPoint document or one specific slide to REImage collection or object.
REImage ConvertToImage();
REImage ConvertToImage(float zoomValue);
REImage ConvertToImage(int targetResolution);
REImage ConvertToImage(Size targetSize);
REImage ConvertToImageFitWidth(int width);

C# Demo Code to Convert PowerPoint to REImage

You will see a detailed C#.NET programming example for PowerPoint to REImage conversion in the following code table.
// load a Powerpoint document
PPTXDocument doc = new PPTXDocument(@"c:\sample.pptx");
string thumbnailDirectory = @"c:\thumbnail";

int pageCount = doc.GetPageCount();
for (int i = 0; i < pageCount; i++)
{
// get Powerpoint slide/page
PPTXPage page = (PPTXPage)doc.GetPage(i);

// generate thumnail image of 50 pixel wide and 100 pixel high
REImage img = page.ConvertToImage(new Size(50, 100));

// save the thumnail images of Powerpoint pages/slids under a directory
img.Save(ImageType.PNG, thumbnailDirectory + @"\sample" + i + @".png");
}
After REImage image object is created, you can use these C# APIs to set PowerPoint rendering options to achieve featured PowerPoint document conversion.
Related C#.NET PowerPoint Converting Tutorials
As is said above, the process of converting PowerPoint to image object (REImage) is just the first step for PowerPoint document to image conversion. If you need detailed C#.NET APIs and sample codes for all kinds of PowerPoint document conversion, please follow the links below.


Recommend this to Google+


RasterEdge.com is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2017 Raster Edge.com