Spire.Presentation
8.9.4
See the version list below for details.
dotnet add package Spire.Presentation --version 8.9.4
NuGet\Install-Package Spire.Presentation -Version 8.9.4
<PackageReference Include="Spire.Presentation" Version="8.9.4" />
paket add Spire.Presentation --version 8.9.4
#r "nuget: Spire.Presentation, 8.9.4"
// Install Spire.Presentation as a Cake Addin
#addin nuget:?package=Spire.Presentation&version=8.9.4
// Install Spire.Presentation as a Cake Tool
#tool nuget:?package=Spire.Presentation&version=8.9.4
.NET Library for Processing PowerPoint Documents
Product Page | Tutorials | Demo | Examples | Forum | Customized Demo | Temporary License
Spire.Presentation for .NET is a professional PowerPoint compatible API that enables developers to create, read, write, modify, convert and print PowerPoint documents on any .NET platform ( Target .NET Framework, .NET Core, .NET Standard, .NET 5.0, .NET 6.0, .NET7.0, Xamarin & Mono Android ) without installing Microsoft Office.
As an independent PowerPoint .NET API, it supports a rich set of features such as managing text, image, shapes, tables, animations, audio and video on slides. It also supports exporting presentation slides to EMF, JPG, TIFF, PDF, XPS, SVG, HTML format etc.
Standalone .NET API
Spire.Presentation for .NET is a totally independent .NET PowerPoint API which doesn't require Microsoft PowerPoint to be installed on system.
Support PowerPoint Version
- PPT - PowerPoint Presentation 97-2003
- PPS - PowerPoint SlideShow 97-2003
- PPTX - PowerPoint Presentation 2007/2010/2013/2016/2019
- PPSX - PowerPoint SlideShow 2007, 2010
Support Rich PowerPoint Elements
Spire.Presentation for .NET supports to process a variety of PowerPoint elements, such as slide, text, image, shape, table, chart, watermark, animation, header, footer, comment, note, SmartArt, hyperlink, OLE object, audio and video.
High Quality File Conversion
Spire.Presentation for .NET allow developers to convert PowerPoint documents to other file formats such as:
- Convert PowerPoint to PDF
- Convert PowerPoint to Image
- Convert PowerPoint to PPTX
- Convert PowerPoint to XPS
- Convert PowerPoint to SVG
- Convert PowerPoint to HTML
Convert PowerPoint to PDF/XPS/HTML in C#
//create PPT document
Presentation presentation = new Presentation();
//load PPT file from disk
presentation.LoadFromFile("sample.ppt");
//save the PPT do PDF file format
presentation.SaveToFile("ToPdf.pdf", FileFormat.PDF);
System.Diagnostics.Process.Start("ToPdf.pdf");
//save the PPT document to XPS file format
ppt.SaveToFile("source.xps", FileFormat.XPS);
System.Diagnostics.Process.Start("source.xps");
//Save the PowerPoint document to HTML format
ppt.SaveToFile(@"E:\Program Files\ToHtml.html", FileFormat.Html);
Convert PowerPoint to Images in C#
//load a PPT file
Presentation presentation = new Presentation();
presentation.LoadFromFile("sample.pptx");
//traverse the slides of PPT files
for (int i = 0; i < presentation.Slides.Count; i++)
{
//save the slide to Image
Image image = presentation.Slides[i].SaveAsImage();
String fileName = String.Format("result-img-{0}.png", i);
image.Save(fileName, System.Drawing.Imaging.ImageFormat.Png);
//view the image
System.Diagnostics.Process.Start(fileName);
Convert PowerPoint to SVG in C#
//load a PPT file
Presentation ppt = new Presentation();
ppt.LoadFromFile("sample.pptx");
Queue svgBytes = ppt.SaveToSVG();
int len = svgBytes.Count;
for (int i = 0; i < len; i++)
{
FileStream fs = new FileStream(string.Format("result" + "{0}.svg", i), FileMode.Create);
byte[] bytes = svgBytes.Dequeue();
fs.Write(bytes, 0, bytes.Length);
ppt.Dispose();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 was computed. net8.0-android 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. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid is compatible. |
Xamarin.iOS | xamarinios is compatible. |
-
.NETCoreApp 2.0
- System.Drawing.Common (>= 4.5.0)
- System.Security.Cryptography.Xml (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
-
.NETFramework 2.0
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
MonoAndroid 0.0
- SkiaSharp (>= 1.68.0)
- System.Security.Cryptography.Xml (>= 4.6.0)
- System.Text.Encoding.CodePages (>= 4.6.0)
-
net6.0
- System.Drawing.Common (>= 6.0.0)
- System.Security.Cryptography.Xml (>= 6.0.0)
- System.Text.Encoding.CodePages (>= 6.0.0)
-
Xamarin.iOS 0.0
- SkiaSharp (>= 1.68.0)
- System.Security.Cryptography.Xml (>= 4.6.0)
- System.Text.Encoding.CodePages (>= 4.6.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Spire.Presentation:
Package | Downloads |
---|---|
iCom
iCom integrates a variety of specific operation classes, such as: Cookie, Items, Cache, Form, DbContext, DbDynamic, DbConn, SqlQuery, FileUtil, FileUpload, Crypto, BarCode, StringUtil, TypeConvert, SortList, DateUtil, RegexUtil, Environal, ReflectUtil, HttpClient, ImageUtil, XmlUtil, ZipPackage, WordUtil, ExcelUtil, PdfUtil, PinyinConvert, PdfToImageConverter, JsonConfig, XmlConfig, ObjectCopy, TagHelper, SkipUrlMiddleware and so on. // HttpContext Called in the ConfigureServices method services.AddContextAccessor(); // Called in the Configure method app.UseHttpContext(); // EfCore Called in the ConfigureServices method // Application Assembly var assembly = Assembly.GetExecutingAssembly(); // Register Database Models services.AddDbContext(assembly); // Auto Update Database services.AddMigrate(); // Register All Services services.AddService(assembly); |
|
CoreExtention
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.11.1 | 82 | 11/30/2023 |
8.10.2 | 1,259 | 10/18/2023 |
8.9.4 | 1,368 | 9/27/2023 |
8.8.4 | 5,742 | 8/18/2023 |
8.7.2 | 1,072 | 7/21/2023 |
8.7.0 | 1,317 | 7/3/2023 |
8.6.0 | 838 | 6/5/2023 |
8.4.1 | 4,670 | 4/13/2023 |
8.3.2 | 3,084 | 3/31/2023 |
8.2.0 | 2,237 | 2/7/2023 |
8.1.1 | 1,225 | 1/16/2023 |
7.12.1 | 4,304 | 12/21/2022 |
7.11.1 | 7,647 | 11/15/2022 |
7.10.2 | 847 | 10/28/2022 |
7.9.2 | 4,082 | 9/27/2022 |
7.8.0 | 17,253 | 8/10/2022 |
7.7.5 | 2,164 | 7/14/2022 |
7.7.1 | 1,355 | 7/6/2022 |
7.6.2 | 2,653 | 7/1/2022 |
7.5.3 | 11,659 | 5/27/2022 |
7.4.5 | 4,028 | 4/20/2022 |
7.3.1 | 4,116 | 3/15/2022 |
7.2.5 | 1,533 | 2/28/2022 |
7.1.0 | 3,854 | 1/21/2022 |
6.12.4 | 23,305 | 12/24/2021 |
6.11.5 | 1,974 | 12/1/2021 |
6.11.4 | 5,670 | 11/25/2021 |
6.11.2 | 1,372 | 11/12/2021 |
6.10.2 | 2,488 | 10/27/2021 |
6.9.5 | 3,963 | 9/30/2021 |
6.9.2 | 846 | 9/17/2021 |
6.8.4 | 1,510 | 8/20/2021 |
6.7.2 | 2,383 | 7/13/2021 |
6.6.6 | 1,826 | 6/29/2021 |
6.6.0 | 4,443 | 6/9/2021 |
6.4.5 | 6,046 | 4/30/2021 |
6.4.1 | 1,962 | 4/2/2021 |
6.2.2 | 4,816 | 2/8/2021 |
6.1.4 | 1,101 | 1/20/2021 |
6.1.0 | 3,226 | 1/12/2021 |
5.11.4 | 7,263 | 11/30/2020 |
5.11.2 | 952 | 11/24/2020 |
5.9.5 | 3,863 | 9/24/2020 |
5.8.5 | 8,917 | 8/27/2020 |
5.8.1 | 2,472 | 8/7/2020 |
5.7.2 | 2,028 | 7/16/2020 |
5.6.1 | 5,494 | 6/4/2020 |
5.4.2 | 2,861 | 4/13/2020 |
5.3.6 | 2,210 | 3/20/2020 |
5.2.1 | 2,001 | 2/26/2020 |
5.1.0 | 5,335 | 1/15/2020 |
4.12.13 | 2,282 | 12/18/2019 |
4.11.0 | 3,500 | 11/29/2019 |
4.10.2 | 3,783 | 10/17/2019 |
4.9.5 | 10,961 | 9/27/2019 |
4.8.15 | 4,498 | 8/30/2019 |
4.8.5 | 1,698 | 8/12/2019 |
4.7.5 | 25,501 | 7/22/2019 |
4.7.0 | 3,335 | 7/5/2019 |
4.6.5 | 2,646 | 7/1/2019 |
4.6.1 | 6,696 | 6/12/2019 |
4.5.9 | 1,752 | 5/28/2019 |
4.5.5 | 1,281 | 5/17/2019 |
4.4.10 | 1,391 | 4/26/2019 |
4.4.3 | 2,391 | 4/16/2019 |
4.3.19 | 1,841 | 3/29/2019 |
4.3.14 | 2,559 | 3/22/2019 |
4.3.9 | 3,824 | 3/15/2019 |
4.3.3 | 4,261 | 3/6/2019 |
4.3.0 | 1,530 | 3/1/2019 |
4.2.1 | 1,478 | 2/14/2019 |
4.1.16 | 27,217 | 1/28/2019 |
4.1.0 | 2,576 | 1/10/2019 |
3.12.9 | 2,496 | 12/28/2018 |
3.12.4 | 1,626 | 12/24/2018 |
3.11.1 | 3,627 | 11/9/2018 |
3.10.4 | 3,114 | 10/19/2018 |
3.10.1 | 1,538 | 10/11/2018 |
3.9.8 | 3,611 | 9/29/2018 |
3.9.5 | 13,981 | 9/21/2018 |
3.8.4 | 1,874 | 8/17/2018 |
3.8.0 | 1,473 | 8/2/2018 |
3.7.5 | 1,527 | 7/30/2018 |
3.6.9 | 4,347 | 6/28/2018 |
3.6.1 | 3,463 | 6/11/2018 |