C# Excel Library
How to C#: Install, Deploy and Distribute XDoc.Excel
Online C# Guide for XDoc.Excel Installation, Deployment and Distribution
There are two parts on this page, including system requirements for using XDoc.Excel, and how to install XDoc.Excel into visual studio C# .NET Applications.
System Requirements
- Windows XP SP3 or later
- Microsoft .NET Framework 2.0 or later
Install XDoc.Excel in C# Project
Add necessary references to your C#.NET project. Right-click the project and select "Add Reference..." to locate and add the following DLLs as project 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.Excel.dll
RasterEdge.XImage.Raster.Core.dll
RasterEdge.XImage.Raster.dll
Use corresponding namespaces;
RasterEdge.Imaging.Basic
RasterEdge.XDoc.Excel
Add the following C# demo code to your project (Excel to Png conversion demo).
// Convert Excel file to Png image.
XLSXDocument docx = new XLSXDocument(filePath);
xlsx.ConvertToImages(ImageType.PNG, @"C:\output\", "test");