Spire.Presentationfor.NETStandard 9.8.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Spire.Presentationfor.NETStandard --version 9.8.1                
NuGet\Install-Package Spire.Presentationfor.NETStandard -Version 9.8.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Spire.Presentationfor.NETStandard" Version="9.8.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spire.Presentationfor.NETStandard --version 9.8.1                
#r "nuget: Spire.Presentationfor.NETStandard, 9.8.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Spire.Presentationfor.NETStandard as a Cake Addin
#addin nuget:?package=Spire.Presentationfor.NETStandard&version=9.8.1

// Install Spire.Presentationfor.NETStandard as a Cake Tool
#tool nuget:?package=Spire.Presentationfor.NETStandard&version=9.8.1                

.NET Library for Processing PowerPoint Documents

Foo

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, Markdown 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/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 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 was computed.  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. 
.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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Spire.Presentationfor.NETStandard:

Package Downloads
Spire.Officefor.NETStandard

It only contains the dlls for .NET standard 2.0

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.11.3 99 11/13/2024
9.10.2 1,798 10/17/2024
9.9.2 2,060 9/20/2024
9.8.3 1,438 9/3/2024
9.8.1 128 8/9/2024
9.7.4 111 7/10/2024