DevExpress.Docs.Presentation 25.2.4
Documentation | Demo | Getting Started Example | Blog & Feedback | Support
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
Full Support for PowerPoint Elements
- Slides, Slide Layouts, Slide Masters
- Notes Slides, Notes Master
- Shapes, Images, Connectors, Placeholders
- Text, Paragraphs, Lists
- Headers, Footers
- Tables
- 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, 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
Get Started
Install the DevExpress.Docs.Presentation NuGet package
dotnet add package DevExpress.Docs.Presentation
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);
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));
Licensing
DevExpress Presentation API is included in the following DevExpress subscriptions:
Free 30-day evaluation period is available.
Related Components/Packages
DevExpres.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
Documentation | Demo | Getting Started Example | Blog & Feedback | Support
Showing the top 20 packages that depend on DevExpress.Docs.Presentation.
| Packages | Downloads |
|---|---|
|
DevExpress.Docs.Presentation.de
The DevExpress Docx File API is a powerful .NET library that allows you to fully automate common document processing tasks and use-case scenarios.
|
5 |
|
DevExpress.Docs.Presentation.de
This package implements functionality specific to the DevExpress PowerPoint Presentation API Library. This non-visual library allows you to work with PowerPoint presentations in code: generate, modify, print, and export to various formats.
|
5 |
|
DevExpress.Docs.Presentation.es
The DevExpress Docx File API is a powerful .NET library that allows you to fully automate common document processing tasks and use-case scenarios.
|
4 |
|
DevExpress.Docs.Presentation.ja
The DevExpress Docx File API is a powerful .NET library that allows you to fully automate common document processing tasks and use-case scenarios.
|
4 |
|
DevExpress.Docs.Presentation.es
This package implements functionality specific to the DevExpress PowerPoint Presentation API Library. This non-visual library allows you to work with PowerPoint presentations in code: generate, modify, print, and export to various formats.
|
4 |
|
DevExpress.Docs.Presentation.ja
This package implements functionality specific to the DevExpress PowerPoint Presentation API Library. This non-visual library allows you to work with PowerPoint presentations in code: generate, modify, print, and export to various formats.
|
4 |
|
DevExpress.Docs.Presentation.de
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
|
4 |
|
DevExpress.Docs.Presentation.es
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
|
4 |
|
DevExpress.Docs.Presentation.ja
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
|
4 |
|
DevExpress.Docs.Presentation.es
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
|
3 |
|
DevExpress.Docs.Presentation.ja
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
|
3 |
|
DevExpress.Docs.Presentation.de
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
|
3 |
.NET Framework 4.6.2
- DevExpress.Data (= 25.2.4)
- DevExpress.Printing.Core (= 25.2.4)
- DevExpress.Pdf.Core (= 25.2.4)
- DevExpress.Office.Core (= 25.2.4)
- DevExpress.Drawing (= 25.2.4)
- DevExpress.Docs.Core (= 25.2.4)
.NET 8.0
- System.Security.Cryptography.Xml (>= 8.0.2)
- System.Drawing.Common (>= 8.0.15)
- DevExpress.Printing.Core (= 25.2.4)
- DevExpress.Pdf.Core (= 25.2.4)
- DevExpress.Office.Core (= 25.2.4)
- DevExpress.Docs.Core (= 25.2.4)
- DevExpress.Drawing (= 25.2.4)
- DevExpress.Data (= 25.2.4)