Guide for VB.NET
Core Document Formats
Excel to REImage
Additional Features

VB.NET Excel - Render to REImage in VB.NET

VB.NET Demo Code to Convert & Render Excel Sheet to Image Object REImage

Home > .NET Imaging SDK > VB.NET > Excel to REImage
To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!

All RasterEdge supported VB.NET Excel converting types start with the process of converting Excel sheet to image object which is represented as REImage. With the purpose to help you have a better understanding of this VB.NET Excel to REImage converting process, we specifically provide this online tutorial page.
Related .net document control helps: edit pdf page using c#: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C# edit pdf image using c#: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C# pdf viewer using c#: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET sharepoint document viewer open source: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint mvc excel viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
c# image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
c# text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
From this VB.NET Excel to REImage converting tutorial page, you will find the answers to following questions.
  • What APIs will be used in the process of converting Excel sheet to REImage?
  • Is there any VB.NET demo code that I can use to convert Excel to image object REImage?
  • What are the benefits of this VB.NET Excel converting control add-on?
APIs to Convert Excel to REImage
In this section, we offer you the VB.NET APIs that will be used to convert Excel sheet to REImage.
Private Function GetPage(pageIndex As Integer) As BasePage Implements XLSXDocument.GetPage
End Function
Private Function toImage() As BaseImage Implements XLSXPage.toImage
End Function
Private Function toImage(height As Integer, width As Integer) As BaseImage Implements XLSXPage.toImage
End Function
To help you better understand these VB.NET Excel converting APIs, we will offer some explanations here.
  • XLSXDocument: ExcelDocuement is a high-level model of one Excel file, which exists as a programming class to represent one .xlsx file. And this VB.NET Excel to REImage converting control add-on is able to decode source Excel file from PC file or web server to one XLSXDocument object directly.
  • XLSXPage: XLSXPage is counted as an abstraction of one Excel sheet. Developers are allowed to create a specific XLSXPage instance from XLSXDocument via GetPage method.
  • REImage: REImage is also a programming class used by this VB.NET Excel converting control SDK to represent image object. And using toImage method, VB.NET developers can easily and accurately render one XLSXPage object to an image object whose height and width can be self-defined using VB.NET code.
Note: just as is said above, this process of converting Excel sheet to REImage is only a part of Excel to image converting application in VB.NET. To fully complete the conversion between Excel sheet and desired image format, you need to save converted REImage to specific image format. Besides, if you want to customize the VB.NET Excel converting application, other mature APIs may be used.
VB.NET Demo Code
This section aims to answer the question of how to convert Excel sheet to REImage image object using above VB.NET Excel converting APIs. If you have any question or suggestion of testing following VB.NET demo code for converting Excel to image object, please free to contact us.
''' <summary>
''' Render Excel Document to REImage with XLSXDocument and XLSXPage
''' </summary>
''' <param name="ExcelFilePath"></param>
''' <returns></returns>
Public Function RenderXLSXDocumentToREImage(ExcelFilePath As [String]) As List(Of REImage)
Dim buffer As New List(Of REImage)()

Dim doc As New XLSXDocument(ExcelFilePath)
For i As Integer = 0 To doc.GetPageCount() - 1
' Need to convert BasePage to XLSXPage
Dim page As XLSXPage = DirectCast(doc.GetPage(i), XLSXPage)
Dim temp As REImage = DirectCast(page.ToImage(), REImage)
If temp IsNot Nothing Then
End If

Return buffer
End Function
Why to Choose
In this section, we will list the main functions supported by this VB.NET Excel to REImage converting library add-on.

Compatible with .NET Framework 2.0 & Later Versions

Programmed in managed C# code, this VB.NET Excel converting control owns high-compatibility with .NET Framework 2.0, 3.0, 3.5, 4.0 & 4.5 and several .NET developing applications, including ASP.NET web and Windows Forms projects. Besides, Microsoft Visual Studio 2005 & greater versions are also supported.

Support Both VB.NET and C# Programming Code

If you want to convert Excel sheet to image object REImage using C# code, this VB.NET Excel converting control add-on is also suitable.

Converted REImage Can Be Rendered into Various Documents & Images

As this VB.NET Excel conversion library SDK owns several document image interpreting APIs, it can save converted image object REImage to pdf, tiff, bmp, png, gif, jpeg or svg independently.

Source Excel Files Created by Excel 2007 or Later Versions Are All Supported

Developed in .NET application, this VB.NET Excel to REImage converting control add-on enables developers to convert any standard Excel file ends with .xlsx suffix.

Allow Developers to Set Different Image Rendering Options

Using this VB.NET Excel converting control, developers can set the image resolution, scaling factor and image size in the process of converting Excel sheet to REImage.

Recommend this to Google+ 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