Aspose.Slides.NET 23.5.0

Presentation Manipulation .NET API

Version 23.4 Nuget

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Aspose.Slides for .NET is a cross-platform API that helps in developing applications with the ability to create, manipulate, inspect, or convert Microsoft PowerPoint and OpenOffice presentation files without any dependency.

Without having to install a PowerPoint program or any 3rd party component, you can use Aspose.Slides to build different types of .NET applications, e.g., Windows Forms Apps, Windows Web Apps, as well as to deploy Web Services. For example, Aspose, using its own APIs, developed these free web applications for popular conversion processes: PowerPoint to Word, PowerPoint to PDF, and PowerPoint to JPG.

Aspose.Slides for .NET requires you to use .NET programming languages. For C++, Java and Python languages, we recommend you get Aspose.Slides for C++, Aspose.Slides for Java and Aspose.Slides for Python via .NET, respectively.

Presentation Processing Features

  • Intuitive Document Object Model: Aspose.Slides' object model gives complete control over presentation elements such as slides, shapes, frames, charts, multimedia, embedded objects, controls, tables, text, transitions and formatting. Developers can use this object model to create complex PowerPoint File Processing applications that can dynamically generate presentations, create or manipulate presentation slides, apply transitions or add animation effects.
  • File Format Conversion: API allows to load & convert PowerPoint presentation, template & slideshow file formats to other supported formats without needing to understand the underlying structure of source or destination formats. The conversion process is simple yet reliable with results identical to the original file in its native application.
  • Rendering & Printing: Developers can render the whole presentation or selective slides to fixed-layout formats such as PDF & XPS as well as raster & vector image formats including PNG, JPEG, SVG, and so on. It is also possible to print presentations via physical or virtual printers.
  • Presentation Security: Load protected presentations or control access to presentations, slides, or objects via advanced security features.
  • Availability of 24 pre-defined textures & 48 patterns for quick styling.

Read & Write PowerPoint Files

Microsoft PowerPoint: PPT, POT, PPS, PPTX, POTX, PPSX, PPTM, PPSM, POTM
OpenDocument: ODP, OTP
Metafile: EMF
Image: TIFF, XML

Save Presentation As

Fixed Layout: PDF, XPS
Image: JPEG, PNG, GIF, BMP, SVG
Web: HTML, CSS, JS
Video: MP4, WEBM, AVI

Platform Independence

Aspose.Slides for .NET can be used to build any type of 32-bit or 64-bit .NET application including ASP.NET, WCF & WinForms as well as via COM Interop while using diverse programming languages including C++, VBScript & classic ASP. The package provides assemblies to be used with Mono on various flavors of Linux, .NET Core, Xamarin.Android.

Get Started

Let's give Aspose.Slides for .NET a try! Simply execute Install-Package Aspose.Slides.NET from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Slides for .NET and want to upgrade the version, please execute Update-Package Aspose.Slides.NET to get the latest version.

Create a PPTX Presentation from Scratch with C# Code

You can execute the below code snippet to see how Aspose.Slides API performs in your environment or check the GitHub Repository for other common usage scenarios.

// instantiate a Presentation object that represents a presentation file
using (Presentation presentation = new Presentation())
{
    // get the first slide
    ISlide slide = presentation.Slides[0];

    // add an autoshape of type line
    slide.Shapes.AddAutoShape(ShapeType.Line, 50, 150, 300, 0);
    presentation.Save(dir + "output.pptx", SaveFormat.Pptx);
}

Convert Specific Slides to PDF Format using C# Code

// instantiate a Presentation object that represents a presentation file
using (Presentation presentation = new Presentation(dir + "template.pptx"))
{
    // setting array of slides positions
    int[] slides = { 1, 3 };
    // save the presentation to PDF
    presentation.Save(dir + "output.pdf", slides, SaveFormat.Pdf);
}

Convert PowerPoint to Video

Use Aspose.Slides alongside a third-party utility (FFMpegCore) to generate frames from your presentation and convert those frames to a video.

  • Use Aspose.Slides to generate a set of frames (from the presentation slides) that correspond to a certain FPS (frames per second)
  • Use a third-party utility like FFMpegCore (ffmpeg) to create a video based on the frames.
  1. Use the dotnet add package command to add Aspose.Slides and the FFMpegCore library to your project:
    • run dotnet add package Aspose.Slides.NET
    • run dotnet add package FFMpegCore --version 4.8.0
  2. Dowload ffmpeg.
  3. FFMpegCore requires you to specify the path to the downloaded ffmpeg (e.g. extracted to "C:\tools\ffmpeg"): GlobalFFOptions.Configure(new FFOptions { BinaryFolder = @"c:\tools\ffmpeg\bin",} );
  4. Run the PowerPoint to video code.
using System.Collections.Generic;
using Aspose.Slides;
using FFMpegCore; // Will use FFmpeg binaries we extracted to "c:\tools\ffmpeg" before
using Aspose.Slides.Animation;

using (Presentation presentation = new Presentation())
{
    // Adds a smile shape and then animates it
    IAutoShape smile = presentation.Slides[0].Shapes.AddAutoShape(ShapeType.SmileyFace, 110, 20, 500, 500);
    IEffect effectIn = presentation.Slides[0].Timeline.MainSequence.AddEffect(smile, EffectType.Fly, EffectSubtype.TopLeft, EffectTriggerType.AfterPrevious);
    IEffect effectOut = presentation.Slides[0].Timeline.MainSequence.AddEffect(smile, EffectType.Fly, EffectSubtype.BottomRight, EffectTriggerType.AfterPrevious);
    effectIn.Timing.Duration = 2f;
    effectOut.PresetClassType = EffectPresetClassType.Exit;
    const int Fps = 33;
    List<string> frames = new List<string>();
    using (var animationsGenerator = new PresentationAnimationsGenerator(presentation))
    using (var player = new PresentationPlayer(animationsGenerator, Fps))
    {
        player.FrameTick += (sender, args) =>
        {
            string frame = $"frame_{(sender.FrameIndex):D4}.png";
            args.GetFrame().Save(frame);
            frames.Add(frame);
        };
        animationsGenerator.Run(presentation.Slides);
    }
    // Configure ffmpeg binaries folder.
    GlobalFFOptions.Configure(new FFOptions { BinaryFolder = @"c:\tools\ffmpeg\bin", });
    // Converts frames to webm video
    FFMpeg.JoinImageSequence("smile.webm", Fps, frames.Select(frame => ImageInfo.FromPath(frame)).ToArray());
}

Animations and effects in the presentation are exported to video.

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Showing the top 20 packages that depend on Aspose.Slides.NET.

Packages Downloads
Finsa.CaravanCore
Package Description
25
Finsa.CaravanCore
Package Description
26
Finsa.CaravanCore
Package Description
27
Finsa.CaravanCore
Package Description
30
Finsa.CaravanCore
Package Description
35
Finsa.CaravanCore
Package Description
38
Finsa.CaravanCore
Package Description
57
Finsa.CaravanCore
Package Description
69
Finsa.CaravanCore
Package Description
78
Finsa.CaravanCore
Package Description
91
Finsa.CaravanCore
Package Description
103
Finsa.CaravanCore
Package Description
111
Finsa.CaravanCore
Package Description
158
Finsa.CaravanCore
Package Description
182
Finsa.CaravanCore
Package Description
293
Finsa.CaravanCore
Package Description
388
Finsa.CaravanCore
Package Description
478
Finsa.CaravanCore
Package Description
1,263
Finsa.CaravanCore
Package Description
2,168

https://docs.aspose.com/slides/net/aspose-slides-for-net-23-5-release-notes

.NET Standard 2.0

.NET 6.0

.NET Framework 2.0

  • No dependencies.

.NET Framework 4.0

  • No dependencies.

Version Downloads Last updated
25.9.0 0 09/03/2025
25.8.0 6 08/08/2025
25.7.0 4 07/02/2025
25.6.0 7 06/14/2025
25.5.0 16 05/19/2025
25.4.0 11 04/23/2025
25.3.0 16 03/07/2025
25.2.0 12 02/12/2025
25.1.0 14 01/17/2025
24.12.0 15 12/10/2024
24.11.0 16 11/14/2024
24.10.0 13 10/09/2024
24.9.0 13 09/12/2024
24.8.0 16 08/05/2024
24.7.0 14 07/18/2024
24.6.0 16 06/17/2024
24.5.0 20 05/12/2024
24.4.0 18 04/18/2024
24.3.0 20 03/16/2024
24.2.0 23 03/10/2024
24.1.0 24 02/08/2024
23.12.0 22 02/08/2024
23.11.0 21 02/08/2024
23.10.0 20 02/08/2024
23.9.0 19 02/08/2024
23.8.0 20 02/08/2024
23.7.0 19 02/08/2024
23.6.0 21 02/08/2024
23.5.0 18 02/08/2024
23.4.0 22 02/08/2024
23.3.1 18 02/08/2024
23.2.0 23 02/08/2024
23.1.0 20 02/08/2024
22.12.0 21 02/08/2024
22.11.0 22 02/08/2024
22.10.0 24 02/08/2024
22.9.0 20 02/08/2024
22.8.0 20 09/08/2022
22.7.0 39 08/30/2022
22.6.0 25 02/08/2024
22.5.0 22 02/08/2024
22.4.0 19 02/08/2024
22.3.0 19 02/08/2024
22.2.0 424 02/18/2022
22.1.0 19 02/08/2024
21.12.0 19 02/08/2024
21.11.0 135 12/07/2021
21.10.0 29 11/09/2021
21.9.0 312 10/01/2021
21.8.0 816 09/10/2021
21.7.0 321 07/15/2021
21.6.0 22 06/17/2021
21.5.0 523 05/18/2021
21.4.0 242 04/18/2021
21.3.0 1,722 03/30/2021
21.2.0 22 02/08/2024
21.1.0 21 02/08/2024
20.12.0 25 02/08/2024
20.11.1 20 02/08/2024
20.11.0 18 02/08/2024
20.10.0 21 02/08/2024
20.9.0 18 02/08/2024
20.8.0 20 02/08/2024
20.7.0 22 02/08/2024
20.6.0 22 02/08/2024
20.5.0 20 02/08/2024
20.4.0 21 02/08/2024
20.3.0 22 02/08/2024
20.2.0 24 02/08/2024
20.1.0 21 02/08/2024
19.12.0 19 02/08/2024
19.11.0 22 02/08/2024
19.10.0 19 02/08/2024
19.9.0 23 02/08/2024
19.8.0 20 02/08/2024
19.7.0 21 02/08/2024
19.6.0 19 02/08/2024
19.5.0 20 02/08/2024
19.4.0 21 02/08/2024
19.3.0 22 02/08/2024
19.2.0 22 02/08/2024
19.1.0 22 02/08/2024
18.12.0 21 02/08/2024
18.11.0 21 02/08/2024
18.10.0 24 02/08/2024
18.9.0 19 02/08/2024
18.8.0 20 02/08/2024
18.7.0 20 02/08/2024
18.6.0 21 02/08/2024
18.5.0 19 02/08/2024
18.4.0 20 02/08/2024
18.3.0 20 02/08/2024
18.2.1 20 02/08/2024
18.2.0 24 02/08/2024
18.1.0 21 02/08/2024
17.12.1 18 02/08/2024
17.12.0 18 02/08/2024
17.11.0 21 02/08/2024
17.10.0 23 02/08/2024
17.9.1 23 02/08/2024
17.9.0 20 02/08/2024
17.8.0 22 02/08/2024
17.7.0 20 02/08/2024
17.6.0 22 02/08/2024
17.5.0 19 02/08/2024
17.4.0 21 02/08/2024
17.3.0 18 02/08/2024
17.2.0 21 02/08/2024
17.1.0 19 02/08/2024
16.12.1 21 02/08/2024
16.12.0 23 02/08/2024
16.11.0 19 02/08/2024
16.10.0 19 02/08/2024
16.9.0 21 02/08/2024
16.8.0 19 02/08/2024
16.7.0 21 03/10/2024
16.6.0 22 02/08/2024
16.5.0 21 02/08/2024
16.4.0 22 02/08/2024
16.3.0 20 02/08/2024
16.2.0 24 02/08/2024
16.1.0 19 02/08/2024
15.11.0 21 02/08/2024
15.10.0 25 02/08/2024
15.9.0 22 02/08/2024
15.8.1 23 02/08/2024
15.8.0 22 02/08/2024
15.7.0 24 02/08/2024
15.6.0 20 02/08/2024
15.5.0 23 02/08/2024
15.4.0 23 02/08/2024
15.3.1 21 02/08/2024
15.3.0 22 02/08/2024
15.2.0 20 02/08/2024
15.1.0 20 02/08/2024
14.10.0 20 02/08/2024
14.9.0 23 02/08/2024
14.8.1 18 02/08/2024
14.8.0 21 02/08/2024
14.7.0 23 02/08/2024
14.6.0 21 02/08/2024
14.5.0 20 02/08/2024
14.4.0 22 02/08/2024
14.3.0 23 02/08/2024
14.2.0 26 02/08/2024
14.1.2 38 02/08/2024
14.1.1 25 02/08/2024
14.1.0.2 20 02/08/2024
13.12.0 22 02/08/2024
8.4.2 23 02/08/2024
8.4.1 21 02/08/2024
8.4.0 21 02/08/2024
8.3.0.1 19 02/08/2024
8.2.0 35 02/08/2024
8.1.0 22 02/08/2024
8.0.0 19 02/08/2024
7.9.0 19 02/08/2024
7.8.0 19 02/08/2024
7.7.0 38 02/08/2024
7.6.0 22 02/08/2024
7.5.0 21 02/08/2024
7.4.0 21 02/08/2024
7.3.0 20 02/08/2024
7.2.0 20 02/08/2024
7.1.0 23 02/08/2024
7.0.0 22 02/08/2024
6.9.0 23 02/08/2024
6.8.0 25 02/08/2024
6.7.0 21 02/08/2024
6.6.0 20 02/08/2024
6.5.0 20 02/08/2024
6.4.0 18 02/08/2024
6.3.0 20 02/08/2024
6.2.0 19 02/08/2024
6.1.0 23 02/08/2024
6.0.0 19 02/08/2024
5.9.0.1 21 02/08/2024
5.9.0 22 02/08/2024