Skip to main content
.NETFramework4.6.2net8.0

Target Platform/Framework: Desktop, Web, Mobile DevExpress Product Libraries Used: .NET Office File API (https://www.devexpress.com/officefileapi) Available in the following DevExpress Subscription(s): Universal, Office File API

Published
Oct 23, 2026
18d ago
Total Downloads
1.5M
1,514,771

Install

dotnet add package DevExpress.Document.Processor --version 26.1.6
ProductVersions
.NET
net8.0
Other
.NETFramework4.6.2

README

DevExpress Document Processing APIs for .NET

This cross-platform .NET library allow you to generate and manage documents and barcodes in code:

  • Work with rich text docs (Word), spreadsheets (Excel), presentations (PowerPoint), and PDF files.
  • Generate, edit, sign, convert, and print documents.
  • Build applications without Microsoft Office or Adobe dependencies.
  • Generate barcodes.

DevExpress Document Processing APIs are compatible with the following operating systems and platforms:

  • Windows, Linux, macOS
  • .NET 8/9/10, .NET Framework 4.6.2+
  • Azure, AWS, Docker

Included Components

Word Processing Document API

The DevExpress Word Processing Document API allows you to manage rich text documents:

  • Generate or edit document content
  • Specify character and paragraph formatting
  • Protect documents
  • Use Mail Merge to create personalized messages and reports
  • Print and export
  • And much more

Get Started with DevExpress Word Processing Document API

//Load a Word file, add text watermark, and export to PDF
using var wordProcessor = new RichEditDocumentServer();
wordProcessor.LoadDocument("wordFile.docx");
wordProcessor.Document.WatermarkManager.SetText("CONFIDENTIAL");
MemoryStream pdfStream = new MemoryStream();
wordProcessor.ExportToPdf(pdfStream);

PDF Document API

The DevExpress PDF Document API allows you to manage PDF documents in code:

  • Generate or edit document content
  • Merge or split files
  • Password-protect documents
  • Digitally sign PDF files
  • And much more

Get Started with DevExpress PDF Document API

//Load a PDF file, encrypt it, and specify access permissions
using var pdfProcessor = new PdfDocumentProcessor();
pdfProcessor.LoadDocument("pdfDocument.pdf");
PdfEncryptionOptions encryptionOptions = new PdfEncryptionOptions();
encryptionOptions.DataExtractionPermissions = PdfDocumentDataExtractionPermissions.NotAllowed;
encryptionOptions.OwnerPasswordString = "OwnerPassword";
encryptionOptions.UserPasswordString = "UserPassword";
encryptionOptions.Algorithm = PdfEncryptionAlgorithm.AES256;
MemoryStream pdfEncryptedStream = new MemoryStream();
pdfProcessor.SaveDocument(pdfEncryptedStream, new PdfSaveOptions() { EncryptionOptions = encryptionOptions });

Excel Spreadsheet API

The DevExpress Spreadsheet Document API allows you to manage Excel files in code:

  • Generate or edit document content
  • Analyze and visualize data
  • Add formulas to cells
  • Password-protect documents
  • Digitally sign spreadsheets
  • Print and export worksheets
  • And much more

Get Started with DevExpress Spreadsheet API

//Load an Excel workbook, calculate formulas, and export to PDF
using var workbook = new Workbook();
workbook.LoadDocument("spreadsheetFile.xlsx");
workbook.Calculate();
MemoryStream pdfStream = new MemoryStream();
workbook.ExportToPdf(pdfStream);

Barcode Generation API

The DevExpress Barcode Generation API allows you to generate barcodes:

  • Create 1D or 2D barcodes - over 30 types total
  • Change orientation, color, quality, and other settings
  • Export to image or PDF
  • And more

Get Started with DevExpress Barcode API

Examples

Example 1: Convert multiple files to PDF and merge into a single file
  1. Install the NuGet package

    dotnet add package DevExpress.Document.Processor
    
  2. Use the following code to convert Word and Excel files to PDF and merge them into a single file:

//Load a Word file and export to PDF
using var wordProcessor = new RichEditDocumentServer();
wordProcessor.LoadDocument("wordFile.docx");
MemoryStream docStream1 = new MemoryStream();
wordProcessor.ExportToPdf(docStream1);
docStream1.Position = 0;

//Load an Excel workbook and export to PDF
using var workbook = new Workbook();
workbook.LoadDocument("spreadsheetFile.xlsx");
MemoryStream docStream2 = new MemoryStream();
workbook.ExportToPdf(docStream2);
docStream2.Position = 0;

//Merge two PDF documents into a single file
using var pdfProcessor = new PdfDocumentProcessor();
pdfProcessor.CreateEmptyDocument();
pdfProcessor.AppendDocument(docStream1);
pdfProcessor.AppendDocument(docStream2);
MemoryStream mergedPdfStream = new MemoryStream();
pdfProcessor.SaveDocument(mergedPdfStream);
mergedPdfStream.Position = 0;

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.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.Pdf - New DevExpress Document Processing APIs for advanced PDF generation and editing scenarios.

dotnet add package DevExpress.Docs.Pdf

DevExpress.Docs.Barcode - DevExpress Barcode Generation APIs.

dotnet add package DevExpress.Docs.Barcode

Demos

Documentation

Useful Online Resources

Changes from Previous Version

No structural changes between v26.1.6-pre-26304 and v26.1.6.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.The published metadata declares 25 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.