![]() |
VOOZH | about |
dotnet add package Spire.XLS --version 16.6.3
NuGet\Install-Package Spire.XLS -Version 16.6.3
<PackageReference Include="Spire.XLS" Version="16.6.3" />
<PackageVersion Include="Spire.XLS" Version="16.6.3" />Directory.Packages.props
<PackageReference Include="Spire.XLS" />Project file
paket add Spire.XLS --version 16.6.3
#r "nuget: Spire.XLS, 16.6.3"
#:package Spire.XLS@16.6.3
#addin nuget:?package=Spire.XLS&version=16.6.3Install as a Cake Addin
#tool nuget:?package=Spire.XLS&version=16.6.3Install as a Cake Tool
Product Page | Documentation | Examples | Forum | Blog | Temporary License | Customized Demo
Spire.XLS for .NET is a professional .NET Excel API that can be used to create, read, write, convert and print Excel files in any type of .NET ( C#, VB.NET, ASP.NET, .NET Core, .NET 5.0, .NET 6.0,.NET 9.0, .NETStandard, MonoAndroid and Xamarin.iOS) application without installing Microsoft Office.
The API supports both the old Excel 97-2003 format (.xls) and the new Excel 2007, Excel 2010, Excel 2013, Excel 2016 and Excel 2019 (.xlsx, .xlsb, .xlsm), along with Open Office(.ods) format. It features fast and reliably compared with developing your own spreadsheet manipulation solution or using Microsoft Automation.
Spire.XLS for .NET is a 100% standalone Excel .NET library without requiring Microsoft Excel or Microsoft Office to be installed on the system.
using Spire.Xls;
using System.IO;
namespace CreateExcelFiles
{
class Program
{
static void Main(string[] args)
{
//A: Dynamically create Excel file and save it to stream
Workbook wbToStream = new Workbook();
Worksheet sheet = wbToStream.Worksheets[0];
sheet.Range["C10"].Text = "The sample demonstrates how to save an Excel workbook to stream.";
FileStream file_stream = new FileStream("To_stream.xls", FileMode.Create);
wbToStream.SaveToStream(file_stream);
file_stream.Close();
System.Diagnostics.Process.Start("To_stream.xls");
//B. Load Excel file from stream
Workbook wbFromStream = new Workbook();
FileStream fileStream = File.OpenRead("sample.xls");
fileStream.Seek(0, SeekOrigin.Begin);
wbFromStream.LoadFromStream(fileStream);
wbFromStream.SaveToFile("From_stream.xls", ExcelVersion.Version97to2003);
fileStream.Dispose();
System.Diagnostics.Process.Start("From_stream.xls");
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Spire.Xls;
namespace ToPDF
{
class Program
{
static void Main(string[] args)
{
Workbook workbook = new Workbook();
workbook.LoadFromFile("Sample.xlsx", ExcelVersion.Version2010);
workbook.SaveToFile("result.pdf", Spire.Xls.FileFormat.PDF);
}
}
}
using Spire.Xls;
namespace Xls2Image
{
class Program
{
static void Main(string[] args)
{
Workbook workbook = new Workbook();
workbook.LoadFromFile(@"..\..\test.xls");
Worksheet sheet = workbook.Worksheets[0];
sheet.SaveToImage("sample.jpg");
}
}
}
Product Page | Documentation | Examples | Forum | Blog | Temporary License | Customized Demo
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Framework | net40 net40 is compatible. net403 net403 was computed. net45 net45 was computed. net451 net451 was computed. net452 net452 was computed. net46 net46 was computed. net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 is compatible. net481 net481 was computed. |
Showing the top 5 NuGet packages that depend on Spire.XLS:
| Package | Downloads |
|---|---|
|
Spire.Office
Spire.Office for .NET is a combination of Enterprise-Level Office .NET components offered by E-iceblue. It includes Spire.Doc, Spire XLS, Spire.Presentation, Spire.PDF, Spire.DataExport, Spire.PDFViewer, Spire.DocViewer, Spire.Email and Spire.BarCode. Spire.Office contains the most up-to-date versions of the above .NET components. From Spire.Office 3.10.1, Spire.Office supports to work on .NET Core,.NET Standard, Xamarin. With Spire.Office for .NET, developers can create a wide range of applications. It enables developers to open, create, modify, convert, print, View MS Word, Excel, PowerPoint and PDF documents. Furthermore, it allows users to export data to popular files such as MS Word/Excel/RTF/Access, PowerPoint, PDF, XPS, HTML, XML, Text, CSV, DBF, Clipboard, SYLK, etc. As an independent Office .NET component, Spire.Office doesn't need Microsoft Office to be installed on neither the development nor target systems. In addition, it is a better alternative to MS Office Automation in terms of security, stability, scalability, speed, price and features. Spire.Office for .NET can be linked into any type of a 32-bit or 64-bit .NET application including ASP.NET, Web Services and WinForms for .NET Framework version 2.0 to 4.5, .NET Core, .NET standard 2.0 |
|
|
Spire.OfficeViewer
Spire.OfficeViewer for .NET is a powerful Office Viewer component for .NET. It enables developers to load Word, Excel, Presentation slides and PDF files and view them from code. As a standalone .NET class library, Spire.OfficeViewer mainly focus on how to display office documents and PDF files. It enables developers/programmers to directly view and print office files and PDFs for their .NET applications. It supports to view the DOC, DOCX, DOT, XLS, XLSX, XLSB, ODS, PPT, PPTX, PPS, PPSX and PDF file formats. Spire.OfficeViewer is a totally independent .NET library which doesn't need to install Microsoft Office and Adobe Reader or any other 3rd party software/library on system. Main Functions Load office documents and PDF from file and view; Switch to target page Fit page; Fit width; Fit height Page down/up; Zoom in/out; Hand tool; Print; |
|
|
HBInformationBase
Huabin science and technology basic information database |
|
|
KCore_bfagundes
My personal library to work SAP projects. |
|
|
Balcony.Framework
Balcony's Framework |
Showing the top 2 popular GitHub repositories that depend on Spire.XLS:
| Repository | Stars |
|---|---|
|
colinin/abp-next-admin
这是基于vue-vben-admin 模板适用于abp vNext的前端管理项目
|
|
|
guojin-yan/DeploySharp
Deploying deep learning models on multiple platforms (OpenVINO/ONNX Runtime, etc.)
|
| Version | Downloads | Last Updated |
|---|---|---|
| 16.6.3 | 7 | 6/18/2026 |
| 16.6.1 | 1,010 | 6/8/2026 |
| 16.5.6 | 2,872 | 5/15/2026 |
| 16.4.2 | 2,795 | 4/29/2026 |
| 16.3.6 | 6,074 | 3/26/2026 |
| 16.2.4 | 13,868 | 2/28/2026 |
| 16.1.4 | 7,600 | 1/22/2026 |
| 15.12.0 | 13,626 | 12/29/2025 |
| 15.11.3 | 19,444 | 11/28/2025 |
| 15.10.3 | 11,116 | 10/27/2025 |
| 15.9.7 | 8,811 | 9/24/2025 |
| 15.8.3 | 11,912 | 8/26/2025 |
| 15.7.8 | 13,121 | 7/16/2025 |
| 15.6.6 | 10,105 | 6/23/2025 |
| 15.5.2 | 10,060 | 5/27/2025 |
| 15.4.4 | 5,247 | 4/29/2025 |
| 15.4.0 | 10,896 | 4/9/2025 |
| 15.3.0 | 39,513 | 2/28/2025 |
| 15.2.3 | 3,654 | 2/20/2025 |