OfficeIMO.PowerPoint
3.6.0
Prefix Reserved
dotnet add package OfficeIMO.PowerPoint --version 3.6.0
NuGet\Install-Package OfficeIMO.PowerPoint -Version 3.6.0
<PackageReference Include="OfficeIMO.PowerPoint" Version="3.6.0" />
<PackageVersion Include="OfficeIMO.PowerPoint" Version="3.6.0" />
<PackageReference Include="OfficeIMO.PowerPoint" />
paket add OfficeIMO.PowerPoint --version 3.6.0
#r "nuget: OfficeIMO.PowerPoint, 3.6.0"
#:package OfficeIMO.PowerPoint@3.6.0
#addin nuget:?package=OfficeIMO.PowerPoint&version=3.6.0
#tool nuget:?package=OfficeIMO.PowerPoint&version=3.6.0
OfficeIMO.PowerPoint
Create, edit, read and save PowerPoint presentations (.pptx, and PowerPoint 97–2003 .ppt, .pot and .pps) in .NET, without Microsoft PowerPoint or COM. Slides, tables and charts are native PowerPoint objects that stay editable.
Install
dotnet add package OfficeIMO.PowerPoint
dotnet add package OfficeIMO.PowerPoint.Pdf # only for SaveAsPdf
Targets netstandard2.0, net8.0 and net10.0, plus net472 on Windows.
Create a deck
Positions and sizes are OfficeLength values. SlideSize.GetContentBox gives the area inside a margin, and a PowerPointLayoutBox splits it into rows, columns or a title band, so slides line up without hand-computed coordinates:
using OfficeIMO;
using OfficeIMO.PowerPoint;
using var deck = PowerPointDocument.Create("Review.pptx");
PowerPointLayoutBox page = deck.SlideSize.GetContentBox(OfficeLength.Centimeters(1.5));
PowerPointLayoutBox titleBand = page.TakeTop(OfficeLength.Centimeters(2.5));
PowerPointLayoutBox body = page.Inset(OfficeLength.Zero, OfficeLength.Centimeters(3.5), OfficeLength.Zero, OfficeLength.Zero);
deck.AddSlide().AddTitle("Quarterly business review", titleBand);
PowerPointSlide agenda = deck.AddSlide();
agenda.AddTitle("Agenda", titleBand);
agenda.AddTextBox(body).AddBullets(["Results", "Risks", "Decisions", "Next steps"]);
agenda.Notes.Text = "Keep the agenda under two minutes.";
deck.Save();
Create starts with no slides; each AddSlide() adds one.
Tables and charts from your data
AddTable and AddChart take any IEnumerable<T>, the same way as in Word and Excel, and return the native table or chart:
using OfficeIMO;
using OfficeIMO.PowerPoint;
Region[] regions = [new("North", 5.7m, 0.36), new("South", 4.1m, 0.31), new("West", 2.9m, 0.27)];
using var deck = PowerPointDocument.Create("Regions.pptx");
PowerPointLayoutBox page = deck.SlideSize.GetContentBox(OfficeLength.Centimeters(1.5));
PowerPointLayoutBox titleBand = page.TakeTop(OfficeLength.Centimeters(2.5));
PowerPointLayoutBox[] halves = page.Inset(OfficeLength.Zero, OfficeLength.Centimeters(3.5), OfficeLength.Zero, OfficeLength.Zero)
.SplitColumns(2, OfficeLength.Centimeters(1));
PowerPointSlide slide = deck.AddSlide();
slide.AddTitle("Revenue by region", titleBand);
PowerPointTable table = slide.AddTable(regions);
halves[0].ApplyTo(table);
slide.AddChart(OfficeChartType.Column, regions, nameof(Region.Name), new PowerPointChartOptions {
Title = "Revenue (USD m)",
Left = halves[1].Left, Top = halves[1].Top, Width = halves[1].Width, Height = halves[1].Height
}, nameof(Region.Revenue));
deck.Save();
record Region(string Name, decimal Revenue, double Margin);
Images
using OfficeIMO;
using OfficeIMO.PowerPoint;
using var deck = PowerPointDocument.Create("Logo.pptx");
PowerPointSlide slide = deck.AddSlide();
slide.AddTitle("Northwind Traders");
slide.AddImage("logo.png", left: OfficeLength.Centimeters(2), top: OfficeLength.Centimeters(5),
width: OfficeLength.Centimeters(6), height: OfficeLength.Centimeters(6));
deck.Save();
Edit an existing deck
using OfficeIMO.PowerPoint;
using var deck = PowerPointDocument.Load("Review.pptx");
int replaced = deck.ReplaceAll("Quarterly", "Annual", new PowerPointTextSearchOptions { IncludeNotes = true });
foreach (PowerPointSlide slide in deck.Slides) {
Console.WriteLine(slide.Notes.Text);
}
deck.Save("Review-annual.pptx");
ReplaceAll matches ordinally and ignores case by default, like Word and PDF; set MatchCase or WholeWords on the options to change that. Textbox and table matches lie within one text run, so a word split across differently formatted runs is not replaced. Tables are included by default and speaker notes only with IncludeNotes.
For files from outside your organization, load with PowerPointLoadOptions.UntrustedDefaults, which rejects macros, embedded objects, ActiveX and external relationships before parsing.
Save as PDF or images
using OfficeIMO;
using OfficeIMO.PowerPoint;
using OfficeIMO.PowerPoint.Pdf;
using var deck = PowerPointDocument.Load("Regions.pptx");
OfficeConversionReport pdf = deck.SaveAsPdf("Regions.pdf");
Console.WriteLine($"{pdf.ItemsWritten} slides, loss: {pdf.HasLoss}");
File.WriteAllBytes("Regions-1.png", deck.Slides[0].ToImage());
More
- PowerPoint guide: text and paragraph formatting, shapes, the full chart API, designer composition and deck plans, corporate templates, sections, transitions, review threads, SmartArt, accessibility checks, legacy
.pptand image export. - Generated operation contract: exactly what is supported, preserved or rejected.
- Adapters: OfficeIMO.PowerPoint.Pdf, Html, OpenDocument, GoogleSlides and IWork. PDF back to PowerPoint lives in OfficeIMO.Pdf.PowerPoint.
- Examples and the migration guide.
PowerPointPresentationis nowPowerPointDocument. - PowerShell: PSWriteOffice (
New-OfficePowerPoint,Export-OfficePowerPoint).
Dependencies: the Open XML SDK and OfficeIMO.Core. MIT licensed.
Generated capability summary
This table is generated from the package-neutral OfficeIMO operation catalog. The detailed source contracts remain authoritative for feature-level behavior and limitations.
| Operation | Supported | Partial | Preserved | Rejected | Unsupported | Not applicable |
|---|---|---|---|---|---|---|
| Create | 48 | 2 | 0 | 10 | 0 | 1 |
| Read | 47 | 0 | 8 | 4 | 0 | 2 |
| Edit | 21 | 0 | 34 | 6 | 0 | 0 |
| Preserve | 19 | 0 | 34 | 4 | 0 | 0 |
| Inspect | 6 | 0 | 0 | 0 | 0 | 0 |
| Validate | 4 | 0 | 0 | 0 | 0 | 2 |
| Remove | 5 | 0 | 0 | 0 | 0 | 0 |
| Convert | 72 | 15 | 0 | 26 | 0 | 0 |
| Export | 5 | 0 | 0 | 0 | 0 | 0 |
The complete rows for OfficeIMO.PowerPoint are published in the generated operation contract.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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 Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- DocumentFormat.OpenXml (>= 3.5.1 && < 4.0.0)
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.9)
- OfficeIMO.Core (>= 3.6.0)
- System.Text.Encoding.CodePages (>= 8.0.0)
-
.NETStandard 2.0
- DocumentFormat.OpenXml (>= 3.5.1 && < 4.0.0)
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.9)
- OfficeIMO.Core (>= 3.6.0)
- System.Text.Encoding.CodePages (>= 8.0.0)
-
net10.0
- DocumentFormat.OpenXml (>= 3.5.1 && < 4.0.0)
- OfficeIMO.Core (>= 3.6.0)
-
net8.0
- DocumentFormat.OpenXml (>= 3.5.1 && < 4.0.0)
- OfficeIMO.Core (>= 3.6.0)
NuGet packages (15)
Showing the top 5 NuGet packages that depend on OfficeIMO.PowerPoint:
| Package | Downloads |
|---|---|
|
OfficeIMO.PowerPoint.Pdf
PDF converter for OfficeIMO.PowerPoint - Export PowerPoint presentations to PDF using the first-party OfficeIMO.Pdf engine. |
|
|
Ank.DocToolkit
Convert HTML to PDF and DOCX in C# without a browser - pure managed, no Chromium, no wkhtmltopdf, no native binaries, no LibreOffice, no Office interop. Also converts Markdown to DOCX and PDF; renders DOCX, XLSX and PPTX to PDF; exports DOCX to HTML/Markdown and XLSX to CSV/HTML; reads legacy Word 97-2003 .doc files; reads text out of a PDF; creates/edits DOCX, XLSX and PPTX; password-protects PDF, DOCX, XLSX and PPTX; and inspects and validates digital signatures in DOCX, XLSX and PPTX. Runs on Linux, Windows, macOS and arm64, and makes no network calls at runtime. |
|
|
OfficeIMO.Reader
Unified, read-only document extraction facade for OfficeIMO (Word/Excel/PowerPoint/Markdown/PDF) intended for AI ingestion. |
|
|
OfficeIMO.ChartForgeX
Optional typed bridge from ChartForgeX visual artifacts to OfficeIMO Word, Excel, PowerPoint, PDF, drawing, and editable Visio surfaces. |
|
|
OfficeIMO.Reader.PowerPoint
PowerPoint presentation adapter for OfficeIMO.Reader.Core. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on OfficeIMO.PowerPoint:
| Repository | Stars |
|---|---|
|
EvotecIT/PSWriteOffice
Moved to OfficeIMO. Development, releases, issues and pull requests: https://github.com/EvotecIT/OfficeIMO
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.6.0 | 0 | 11/6/2026 |
| 3.5.3 | 825 | 10/31/2026 |
| 3.5.2 | 1,527 | 10/24/2026 |
| 3.5.1 | 1,701 | 10/16/2026 |
| 3.4.5 | 1,173 | 10/10/2026 |
| 3.4.4 | 3,196 | 9/27/2026 |
| 3.4.3 | 1,739 | 9/12/2026 |
| 3.4.2 | 682 | 9/9/2026 |
| 3.4.1 | 588 | 9/7/2026 |
| 3.4.0 | 481 | 9/6/2026 |
| 3.3.0 | 627 | 9/2/2026 |
| 3.2.7 | 822 | 8/29/2026 |
| 3.2.6 | 5,410 | 8/22/2026 |
| 3.2.5 | 566 | 8/21/2026 |
| 3.2.4 | 603 | 8/19/2026 |
| 3.2.3 | 550 | 8/17/2026 |
| 3.2.2 | 3,334 | 8/13/2026 |
| 3.2.1 | 587 | 8/11/2026 |
| 3.2.0 | 27,677 | 8/7/2026 |
| 3.1.1 | 459 | 8/7/2026 |