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

C# Excel - Excel to REImage Rendering

How to Render Excel Document to REImage in C#.NET Application

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

Excel Rendering to REImage in C# Overview
It is necessary to render Microsoft Excel to REImage (a self-defined image object in our program, similar to the concept of Bitmap in .NET programming) in C#.NET because our Excel Conversion SDK for C#.NET does not allows you to directly convert Excel file to other document and image formats. That means REImage is served as an intermediate transit in Visual C# Excel document conversion programs. Using REImage as an intermediate transit, you can convert Excel to other documents(like PDF), raster and vector images.
Related .net document control helps:
asp.net excel view: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net edit pdf text color: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
asp.net dicom web viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
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 sharepoint document viewer free: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
asp.net edit pdf image control: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
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...
In order to render Microsoft excel document to REImage in C#.NET application, you may need to install Visual Studio. Visual Studio version 2005 or later versions are available. What's more, supportive operating systems include Windows 2000, Windows XP, Windows Vista, Windows 7, Windows Server 2008, etc. Finally, our product supports Microsoft Excel document with .xlsx file extension in C#.NET programming.
With this detailed C#.NET tutorial, you will find it easy to render Excel file to REImage. You will get detailed information for C#.NET Excel to REImage rendering features, DLLs and APIs. C# demo code for converting Excel file to REImage is also provided.
C#.NET Excel to REImage Rendering Features
  • Completely compatible with .NET Framework from version 2.0 to 4.5 in C#
  • Easy to load Excel from local file or memory stream in C#.NET application
  • Simply render Excel document to REImage in C#.NET without using external assemblies
  • Capable of converting Excel file to other document and image formats in Visual C# programming
  • Support controlling Excel to REImage rendering process by setting rendering options in C#.NET program
  • Offer royalty free license for using .NET Excel Document Rendering Control SDK
C#.NET Excel to REImage Rendering DLLs
To use our product to render Excel document to REImage in C#.NET application, you just need to add the following DLLs into your Visual Studio C# project. Useful functions of our product are compacted into these small sized DLLs.
  • RasterEdge.Imaging.Basic.dll
  • RasterEdge.Imaging.Basic.Codec.dll
  • RasterEdge.Imaging.MSExcel.dll
  • Note, to convert Excel to PDF, SVG or TIFF, resepecive .NET Add-on DLLs are also needed.
C#.NET Excel to REImage Rendering APIs
The following APIs can be used to render Microsoft Excel document to REImage in C#.NET programming.
REImage ConvertToImage();
REImage ConvertToImage(float zoomValue);
REImage ConvertToImage(int targetResolution);
REImage ConvertToImage(Size targetSize);
REImage ConvertToImageFitWidth(int width);
C#.NET Excel to REImage Rendering Demo Code
With C#.NET sample code below, you can easily render Excel file to REImage in your Visual C# project. RasterEdge also provides VB.NET sample code for converting Excel to REImage.
// load an Excel document
XLSXDocument doc = newXLSXDocument(@"c:\sample.xlsx");
string thumbnailDirectory = @"c:\thumbnail";

int pageCount = doc.GetPageCount();
for (int i = 0; i < pageCount; i++)
{
// get Excel sheet/page
XLSXPage page = (XLSXPage)doc.GetPage(i);

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

// save the thumbnail images of Excel pages/sheets under the directory
img.Save(ImageType.PNG, thumbnailDirectory + @"\sample" + i + @".png");
}
Excel Converting to Images & Documents in C#.NET
After rendering Excel to REImage (object/collection), you can convert REImage to other document and image formats, including PDF, TIFF, SVG, PNG, BMP, etc. Below is a list of related tutorials.


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