DevExpress.Docs.Spreadsheet 26.2.2-beta

Prefix Reserved
This is a prerelease version of DevExpress.Docs.Spreadsheet.
dotnet add package DevExpress.Docs.Spreadsheet --version 26.2.2-beta
                    
NuGet\Install-Package DevExpress.Docs.Spreadsheet -Version 26.2.2-beta
                    
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="DevExpress.Docs.Spreadsheet" Version="26.2.2-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DevExpress.Docs.Spreadsheet" Version="26.2.2-beta" />
                    
Directory.Packages.props
<PackageReference Include="DevExpress.Docs.Spreadsheet" />
                    
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 DevExpress.Docs.Spreadsheet --version 26.2.2-beta
                    
#r "nuget: DevExpress.Docs.Spreadsheet, 26.2.2-beta"
                    
#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 DevExpress.Docs.Spreadsheet@26.2.2-beta
                    
#: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=DevExpress.Docs.Spreadsheet&version=26.2.2-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DevExpress.Docs.Spreadsheet&version=26.2.2-beta&prerelease
                    
Install as a Cake Tool

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

  1. Install the package

    dotnet add package DevExpress.Docs.Spreadsheet

  2. Create 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.

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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