VOOZH about

URL: https://www.nuget.org/packages/FreeSpire.XLS/

⇱ NuGet Gallery | FreeSpire.XLS 16.4.0




👁 Image
FreeSpire.XLS 16.4.0

dotnet add package FreeSpire.XLS --version 16.4.0
 
 
NuGet\Install-Package FreeSpire.XLS -Version 16.4.0
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FreeSpire.XLS" Version="16.4.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FreeSpire.XLS" Version="16.4.0" />
 
Directory.Packages.props
<PackageReference Include="FreeSpire.XLS" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FreeSpire.XLS --version 16.4.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FreeSpire.XLS, 16.4.0"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FreeSpire.XLS@16.4.0
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FreeSpire.XLS&version=16.4.0
 
Install as a Cake Addin
#tool nuget:?package=FreeSpire.XLS&version=16.4.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Free .NET API for Processing Excel Documents

👁 Foo

Product Page | Documentation | Examples | Forum | Customized Demo

Free Spire.XLS for .NET is a Community Edition of Spire.XLS for .NET, which is a totally free Excel API for commercial and personal use. As a standalone .NET library, it enables developers to create, manipulate and convert Excel files on any .NET(C#, VB.NET, ASP.NET, .NET Core) applications without depending on Microsoft Office.

Free Spire.XLS for .NET supports both the old Excel 97-2003 format (.xls) and the new Excel 2007, Excel 2010, Excel 2013, Excel 2016 and Excel 2019 (.xlsx, .xlsm).

Friendly Reminder: Free version is limited to 5 sheets per workbook and 200 rows per sheet. This limitation is enforced during reading or writing XLS files. From Free Spire.XLS v7.8, there is no any limitation when loading and saving .xlsx file format. When converting Excel files to other formats, such as PDF/XPS/Images, you can only get the first 3 pages of PDF/XPS/Images.

100% Standalone .NET API

Free Spire.XLS for .NET is a 100% standalone Excel .NET library without requiring Microsoft Excel or Microsoft Office to be installed on the system.

Freely Operate Excel Files

Powerful & High Quality Excel File Conversion

Examples

Create an Excel File in C#

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");
 }

 }
}

Convert Excel to PDF in C#

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);
 }
 }
}

Convert Excel to Image in C#

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 | Customized Demo

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  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 was computed.  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 was computed.  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 Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 was computed. 
.NET Framework 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. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (19)

Showing the top 5 NuGet packages that depend on FreeSpire.XLS:

Package Downloads
Chaos.BasicFrame.CQRS

Package Description

XCodeless.Excel

Package Description

Ai2.Excel

based on Spire.XLS excel import and export

xlsConverter

This is simple C# console application which converts XLS and XLSX files to PDF, BMP, PNG, GIF, JPG, JPEG, TIFF.

Rays.Security

Rays.Security.Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on FreeSpire.XLS:

Repository Stars
tntlinking-opensource/openhis
OpenHIS医院系统(通用版)是一款适用于公立二级以下医院、乡镇卫生院、社区卫生服务中心的综合性医院信息管理系统,包含体检、后台管理、收费结算、医护协同、药房、电子病历等10大功能模块,支持门诊、住院、医技、后勤各项核心业务。
Version Downloads Last Updated
16.4.0 18,117 4/13/2026
14.2.0 779,509 3/14/2024
12.7.0 928,418 7/19/2022
12.2.0 441,431 2/15/2022
12.1.0 20,071 1/28/2022
11.8.6 546,932 8/26/2021
10.10.0 362,916 10/13/2020
10.1.0 454,735 1/15/2020
9.10.11 276,240 10/24/2019

The most release version of Free Spire.XLS relased.