devexpress-office-file-api-presentation

Create, modify, and export PowerPoint presentations programmatically in .NET without Microsoft Office.

Updated Dec 11, 2025
One-click install
npx skills add https://github.com/AleksaRistic216/dotnet-playground --skill devexpress-office-file-api-presentation-aleksaristic216
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: devexpress-office-file-api-presentation
Source: https://github.com/AleksaRistic216/dotnet-playground/tree/main/.github/skills/office-file-api/devexpress-office-file-api-presentation
Command: npx skills add https://github.com/AleksaRistic216/dotnet-playground --skill devexpress-office-file-api-presentation-aleksaristic216

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires DevExpress.Docs.Presentation, and includes references (resource) components.

What problem does it solve? Building or editing PowerPoint files in .NET server and desktop applications normally requires Microsoft Office interop, which is fragile and unavailable on servers. This Skill provides guidance for the DevExpress Presentation API to create, read, modify, merge, and export .pptx files entirely in code. ## Core Features & Use Cases - Presentation Generation: Create slides from masters and layouts, add shapes, formatted text, tables, charts, and images programmatically. - Modification & Extraction: Load existing .pptx/.pptm files, search and replace text, manage speaker notes, headers/footers, and extract text or images. - Export & Distribution: Export presentations to PDF with security options, export slides to images, merge or split presentations, and print. - Use Case: A reporting service needs to generate a quarterly .pptx deck with a title slide, bullet-point content slides, data tables, and charts, then export it to PDF — all from an ASP.NET Core backend without Office installed. ## Quick Start Ask the AI to create a .NET console app using DevExpress.Docs.Presentation that builds a two-slide presentation with a title slide and a bulleted content slide, then saves it as output.pptx.

Frequently Asked Questions about devexpress-office-file-api-presentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a PowerPoint presentation in C# without Microsoft Office?

Install the DevExpress.Docs.Presentation NuGet package, create a Presentation object, add slides from slide master layouts, set placeholder text, and call SaveDocument with a file stream. It works on .NET 6+ and .NET Framework 4.6.2+ without Office installed.

How to export a .pptx file to PDF in .NET?

Call presentation.ExportToPdf with a file path or stream. Pass PdfExportOptions to configure image quality, password encryption, digital signatures, attachments, and document metadata. Note that content is exported as images, so PDF text is not selectable.

Does DevExpress Presentation API support charts in slides?

Yes, version 26.1+ supports the Chart class for standard types like bar, line, and pie, and ChartEx for Office 2016+ types like waterfall, funnel, and treemap. Series data can be inline arrays or references to an embedded spreadsheet.

What file formats does the DevExpress Presentation API support?

It loads and saves PPTX, PPTM, POTX, and POTM Open XML formats. Unsupported files throw a PresentationUnsupportedFormatException. It can also export to PDF and export slides to raster or vector images.

Why are charts or SmartArt missing from my exported PDF?

This is a known limitation: SmartArt diagrams, charts, comments, and FillOverlayEffect are not exported to PDF. All content is rasterized as images, so use pre-rendered images as a workaround for these elements.

Can I merge multiple PowerPoint files into one in .NET?

Yes. Load each presentation and add slides from the source to the target's Slides collection; slide masters transfer automatically. Match the target SlideSize to the source first, or shapes may fall outside the visible slide area.