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 1, 2026
17d ago
Total Downloads
22.2K
22,196

Install

dotnet add package DevExpress.Docs.Presentation --version 26.1.6-pre-26270
ProductVersions
.NET
net8.0
Other
.NETFramework4.6.2

README

DevExpress PowerPoint Presentation API for .NET

DevExpress Presentation API is a cross-platform .NET library that allows you to manage Microsoft PowerPoint presentation files. Install this package and use available APIs to create, edit, read, merge, split, print, export, and digitally sign presentations. All this functionality is available in your .NET applications without Microsoft Office dependencies.

Cross-Platform PowerPoint File Processing

DevExpress PowerPoint Presentation API is compatible with the following operating systems and platforms:

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

File Format Support

  • Import/Export: PPTX, PPTM, POTX, POTM
  • Export Only: PDF
  • Export Slides to Images: BMP, EMF, GIF, ICO, JPEG, PNG, SVG, TIFF, WMF

Full Support for PowerPoint Elements

  • Slides, Slide Layouts, Slide Masters
  • Notes Slides, Notes Master
  • Shapes, Images, Connectors, Placeholders
  • Text, Paragraphs, Lists
  • Headers, Footers
  • Tables
  • Charts
  • Built-in & Custom Document Properties
  • Presentation View Settings
  • Themes

Key Features

  • Generate new PowerPoint presentations from scratch using comprehensive APIs
  • Merge, copy, and split presentations with full slide control
  • Export presentations to PDF with high-quality rendering
  • Cross-platform printing support
  • 170+ shape types including figures, connectors, tables, charts, and image formats
  • Full control over text, paragraph, shape, and slide formatting
  • Add, remove, duplicate, and customize slides and layouts
  • Extract and modify slide text and speaker notes
  • Read and update presentation metadata

Examples

Install the DevExpress.Docs.Presentation NuGet package

dotnet add package DevExpress.Docs.Presentation

Example 1: Create a New Presentation from Scratch

using DevExpress.Docs.Presentation;
//...
// Create a presentation with a single empty slide
Presentation presentation = new Presentation();
// Configure Slide Master
SlideMaster slideMaster = presentation.SlideMasters[0];
slideMaster.Background = new CustomSlideBackground(new SolidFill(Color.FromArgb(194, 228, 249)));
        
// Add a new slide with content
presentation.Slides.Clear();
Slide slide1 = new Slide(slideMaster.Layouts.Get(SlideLayoutType.Title));
foreach (Shape shape in slide1.Shapes) {
    if (shape.Placeholder.Type is PlaceholderType.CenteredTitle) {
        TextArea textArea = new TextArea();
        TextParagraph paragraph = new TextParagraph();
        paragraph.Runs.Add(new TextRun { Text = "Daily Testing Status Report" });
        textArea.Paragraphs.Add(paragraph);
        shape.TextArea = textArea;
    }
    if (shape.Placeholder.Type is PlaceholderType.Subtitle) {
        TextArea textArea = new TextArea();
        TextParagraph paragraph = new TextParagraph();
        paragraph.Runs.Add(new TextRun { Text = $"{DateTime.Now: dddd, MMMM d, yyyy}" });
        textArea.Paragraphs.Add(paragraph);
        shape.TextArea = textArea;
    }
}
presentation.Slides.Add(slide1);
    
// Save Presentation to PPTX
FileStream outputStream = new FileStream(@"D:\mypresentation.pptx", FileMode.Create);
presentation.SaveDocument(outputStream);

Example 2: Convert a Presentation to PDF

using DevExpress.Docs.Presentation;
//...
// Load a Presentation
Presentation presentation = new Presentation(File.ReadAllBytes("mypresentation.pptx"));
// Export to PDF
presentation.ExportToPdf(new FileStream(@"D:\exported-document.pdf", FileMode.Create));

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.

dotnet add package DevExpress.Document.Processor

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.5 and v26.1.6-pre-26270.

Adoption Assessment

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

This version is marked prerelease. Validate its API and upgrade path before production use.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 22 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.