CompuMaster.Excel.FreeSpireXls
2026.12.1.1
See the version list below for details.
dotnet add package CompuMaster.Excel.FreeSpireXls --version 2026.12.1.1
NuGet\Install-Package CompuMaster.Excel.FreeSpireXls -Version 2026.12.1.1
<PackageReference Include="CompuMaster.Excel.FreeSpireXls" Version="2026.12.1.1" />
<PackageVersion Include="CompuMaster.Excel.FreeSpireXls" Version="2026.12.1.1" />
<PackageReference Include="CompuMaster.Excel.FreeSpireXls" />
paket add CompuMaster.Excel.FreeSpireXls --version 2026.12.1.1
#r "nuget: CompuMaster.Excel.FreeSpireXls, 2026.12.1.1"
#:package CompuMaster.Excel.FreeSpireXls@2026.12.1.1
#addin nuget:?package=CompuMaster.Excel.FreeSpireXls&version=2026.12.1.1
#tool nuget:?package=CompuMaster.Excel.FreeSpireXls&version=2026.12.1.1
CompuMaster.Excel.FreeSpireXls
A library to access and edit Excel files with common interface CompuMaster.Excel.ExcelOps for several Excel engines
Use FreeSpire.Xls for solutions targetting .NET Framework 4.8 or .NET 6 or higher
PDF Export and Printing
The common ExcelDataOperationsBase methods export workbooks and individual worksheets through the Spire PDF renderer. They use the configured print areas unless the caller sets ignorePrintAreas. Page selections use zero-based printed page indexes. PDF rendering follows this Spire edition's licensing and conversion limits.
The print methods submit the rendered pages through a Windows printer driver. Use its Windows printer name when selecting a printer. A print-to-file target requires a driver that supports file output. Individual chart sheets do not support these operations.
Quick & dirty engine comparison / why you shouldn't use MS Excel for all situations
For a full engine overview and comparison chart, please see https://github.com/CompuMasterGmbH/CompuMaster.Excel/blob/main/README.md
Licensing
- Please see license file in project directory
- Pay attention to required licensing of the 3rd party components (commercial vs. community licensing, user licensing, etc.)
Examples
Quick-Start: Create a workbook and put some values and formulas, then output the result to console
using CompuMaster.Excel.ExcelOps;
string FirstSheetName;
TextTable formulasOrValues;
TextTable values;
//Create a workbook and put some values and formulas
workbook = new FreeSpireXlsDataOperations(null, ExcelDataOperationsBase.OpenMode.CreateFile, new ExcelDataOperationsOptions());
FirstSheetName = workbook.SheetNames()[0];
workbook.WriteCellValue<int>(FirstSheetName, 0, 0, 123);
workbook.WriteCellValue<double>(new ExcelCell(FirstSheetName, "B1", ExcelCell.ValueTypes.All), 456.123);
workbook.WriteCellFormula(FirstSheetName, 0, 2, @"SUM(A1:B1)", true);
//Output table with formulas or alternatively with formatted cell value
formulasOrValues = workbook.SheetContentMatrix(FirstSheetName, ExcelDataOperationsBase.MatrixContent.FormulaOrFormattedText);
System.Console.WriteLine(formulasOrValues.ToUIExcelTable());
//Output table with calculated or static values
values = workbook.SheetContentMatrix(FirstSheetName, ExcelDataOperationsBase.MatrixContent.StaticOrCalculatedValues);
System.Console.WriteLine(values.ToUIExcelTable());
leads to following output
# |A |B |C
--+---+-------+-----------
1 |123|456,123|=SUM(A1:B1)
# |A |B |C
--+---+-------+-------
1 |123|456,123|579,123
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- CompuMaster.Excel.ExcelOps (>= 2026.12.1.1)
- CompuMaster.Reflection (>= 1.0.2025.1229)
- FreeSpire.XLS (>= 12.7.0)
-
net6.0
- CompuMaster.Excel.ExcelOps (>= 2026.12.1.1)
- CompuMaster.Reflection (>= 1.0.2025.1229)
- FreeSpire.XLS (>= 12.7.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.12.2 | 0 | 12/2/2026 |
| 2026.12.1.2 | 49 | 12/1/2026 |
| 2026.12.1.1 | 56 | 12/1/2026 |
| 2026.12.1 | 56 | 12/1/2026 |
| 2026.11.30 | 62 | 11/30/2026 |
| 2026.11.29.1 | 82 | 11/29/2026 |
| 2026.11.29 | 67 | 11/29/2026 |
| 2026.11.27 | 76 | 11/27/2026 |
| 2026.11.26 | 87 | 11/26/2026 |
| 2026.11.24 | 109 | 11/24/2026 |
| 2026.11.12 | 109 | 11/12/2026 |
| 2026.10.9 | 130 | 10/9/2026 |
| 2026.10.8.1 | 117 | 10/8/2026 |
| 2026.10.8 | 109 | 10/8/2026 |
| 2026.10.7.1 | 118 | 10/7/2026 |
| 2026.10.7 | 114 | 10/7/2026 |
| 2026.9.29 | 119 | 9/29/2026 |
| 2026.9.28 | 123 | 9/28/2026 |
| 2026.8.31 | 145 | 8/31/2026 |
| 2026.7.30.1 | 145 | 7/30/2026 |