DevExpress.Docs.Spreadsheet
26.2.2-beta
Prefix Reserved
dotnet add package DevExpress.Docs.Spreadsheet --version 26.2.2-beta
NuGet\Install-Package DevExpress.Docs.Spreadsheet -Version 26.2.2-beta
<PackageReference Include="DevExpress.Docs.Spreadsheet" Version="26.2.2-beta" />
<PackageVersion Include="DevExpress.Docs.Spreadsheet" Version="26.2.2-beta" />
<PackageReference Include="DevExpress.Docs.Spreadsheet" />
paket add DevExpress.Docs.Spreadsheet --version 26.2.2-beta
#r "nuget: DevExpress.Docs.Spreadsheet, 26.2.2-beta"
#:package DevExpress.Docs.Spreadsheet@26.2.2-beta
#addin nuget:?package=DevExpress.Docs.Spreadsheet&version=26.2.2-beta&prerelease
#tool nuget:?package=DevExpress.Docs.Spreadsheet&version=26.2.2-beta&prerelease
DevExpress Spreadsheet Document API for .NET
DevExpress Spreadsheet Document API is a new cross-platform .NET library that allows you to manage Excel workbooks in code. Add this package to your project and use an object-oriented API model to create, load, modify, calculate, and export spreadsheet documents.
Cross-Platform Spreadsheet Processing
DevExpress Spreadsheet Document API is compatible with the following operating systems and platforms:
- Windows, Linux, macOS
- .NET 10+, .NET Framework 4.6.2+
- Azure, AWS, Docker
Supported File Formats
- XLSX, XLSM, XLSB, XLS
- XLTX, XLTM, XLT
- CSV, TXT
- XML Spreadsheet 2003
- PDF (export)
Key Features
- Create new workbooks or load existing documents
- Manage worksheets, rows, columns, and cells
- Specify cell values and formulas, calculate formulas in code
- Format cells, apply cell and table styles, and use workbook themes
- Merge cells, insert and delete cell ranges
- Create tables, filter and sort data
- Work with charts, pictures, and shapes
- Manage defined names and document properties
- Secure workbooks and worksheets with passwords
- Sanitize workbooks from dangerous or private content
- Export workbooks to PDF
Examples
Example 1: Create a Workbook, Add a Formula, and Export It to PDF
Install the package
dotnet add package DevExpress.Docs.SpreadsheetCreate a workbook, populate cells, and save it to XLSX and PDF files.
using DevExpress.Docs.Spreadsheet; using (Workbook workbook = new Workbook()) { Worksheet sheet = workbook.Worksheets[0]; sheet.Cells["A1"].Value = "Product"; sheet.Cells["B1"].Value = "Sales"; sheet.Cells["A2"].Value = "Chai"; sheet.Cells["B2"].Value = 1250; sheet.Cells["A3"].Value = "Chang"; sheet.Cells["B3"].Value = 980; sheet.Cells["A4"].Value = "Total"; sheet.Cells["B4"].Formula = "=SUM(B2:B3)"; using (FileStream xlsxStream = File.Create("SalesReport.xlsx")) workbook.Save(xlsxStream, DocumentFormat.Xlsx); using (FileStream pdfStream = File.Create("SalesReport.pdf")) workbook.ExportToPdf(pdfStream, new DevExpress.Docs.Spreadsheet.Export.PdfExportOptions { CalculateWorkbookBeforeExport = true }); }
Evaluation Period, Pricing Options, and Licensing Terms
Whether using a 30-day evaluation version or a registered product, you must register your DevExpress.com license key on your machine. To obtain your license key, log in to the DevExpress Download Manager. Use your existing DevExpress.com account or create a new account for free. For detailed instructions, see License Key for DevExpress Products.
Once you have obtained and registered your license key, simply install this package to start a 30-day evaluation period.
To continue using DevExpress products after your trial period ends, purchase a license. This package is included in the following commercial subscriptions:
See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.
After you purchase a license, download and register your up-to-date DevExpress license key to remove licensing warnings and trial messages.
Related Components/Packages
DevExpress.Document.Processor - DevExpress Document Processing APIs for Word, Excel, and PDF documents. Note: a new version of Spreadsheet Document API is available in the DevExpress.Docs.Spreadsheet package.
dotnet add package DevExpress.Document.Processor
DevExpress.Docs.Pdf - New DevExpress Document Processing APIs for advanced PDF generation and editing scenarios.
dotnet add package DevExpress.Docs.Pdf
DevExpress.Docs.Presentation - DevExpress Document Processing APIs for PowerPoint presentations.
dotnet add package DevExpress.Docs.Presentation
DevExpress.AIIntegration.Docs - AI-powered Extensions for DevExpress Document Processing APIs.
dotnet add package DevExpress.AIIntegration.Docs
DevExpress.Docs.Word - New DevExpress Document Processing APIs for Word documents.
dotnet add package DevExpress.Docs.Word
DevExpress.Docs.Ocr - New DevExpress OCR APIs that recognize text in images and scanned PDF documents.
dotnet add package DevExpress.Docs.Ocr
Demos
Documentation
Useful Online Resources
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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 | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- DevExpress.Charts (= 26.2.2-beta)
- DevExpress.Data (= 26.2.2-beta)
- DevExpress.DataVisualization.Core (= 26.2.2-beta)
- DevExpress.Docs.Core (= 26.2.2-beta)
- DevExpress.Drawing (= 26.2.2-beta)
- DevExpress.Office.Core (= 26.2.2-beta)
- DevExpress.Printing.Core (= 26.2.2-beta)
- DevExpress.Spreadsheet.Core (= 26.2.2-beta)
- DevExpress.TreeMap (= 26.2.2-beta)
-
net10.0
- DevExpress.Charts (= 26.2.2-beta)
- DevExpress.Data (= 26.2.2-beta)
- DevExpress.DataVisualization.Core (= 26.2.2-beta)
- DevExpress.Docs.Core (= 26.2.2-beta)
- DevExpress.Drawing (= 26.2.2-beta)
- DevExpress.Office.Core (= 26.2.2-beta)
- DevExpress.Printing.Core (= 26.2.2-beta)
- DevExpress.Spreadsheet.Core (= 26.2.2-beta)
- DevExpress.TreeMap (= 26.2.2-beta)
- System.Drawing.Common (>= 10.0.8)
- System.Security.Cryptography.Xml (>= 10.0.13)
-
net11.0
- DevExpress.Charts (= 26.2.2-beta)
- DevExpress.Data (= 26.2.2-beta)
- DevExpress.DataVisualization.Core (= 26.2.2-beta)
- DevExpress.Docs.Core (= 26.2.2-beta)
- DevExpress.Drawing (= 26.2.2-beta)
- DevExpress.Office.Core (= 26.2.2-beta)
- DevExpress.Printing.Core (= 26.2.2-beta)
- DevExpress.Spreadsheet.Core (= 26.2.2-beta)
- DevExpress.TreeMap (= 26.2.2-beta)
- System.Drawing.Common (>= 10.0.8)
- System.Security.Cryptography.Xml (>= 10.0.13)
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 |
|---|---|---|
| 26.2.2-beta | 57 | 11/23/2026 |