![]() |
VOOZH | about |
dotnet add package Aspose.Slides.NET --version 26.6.0
NuGet\Install-Package Aspose.Slides.NET -Version 26.6.0
<PackageReference Include="Aspose.Slides.NET" Version="26.6.0" />
<PackageVersion Include="Aspose.Slides.NET" Version="26.6.0" />Directory.Packages.props
<PackageReference Include="Aspose.Slides.NET" />Project file
paket add Aspose.Slides.NET --version 26.6.0
#r "nuget: Aspose.Slides.NET, 26.6.0"
#:package Aspose.Slides.NET@26.6.0
#addin nuget:?package=Aspose.Slides.NET&version=26.6.0Install as a Cake Addin
#tool nuget:?package=Aspose.Slides.NET&version=26.6.0Install as a Cake Tool
Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | 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.
Microsoft PowerPoint: PPT, POT, PPS, PPTX, POTX, PPSX, PPTM, PPSM, POTM
OpenDocument: ODP, OTP
Metafile: EMF
Image: TIFF, XML
Fixed Layout: PDF, XPS
Image: JPEG, PNG, GIF, BMP, SVG
Web: HTML, CSS, JS
Video: MP4, WEBM, AVI
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.
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.
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);
}
// 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);
}
Use Aspose.Slides alongside a third-party utility (FFMpegCore) to generate frames from your presentation and convert those frames to a video.
dotnet add package Aspose.Slides.NETdotnet add package FFMpegCore --version 4.8.0GlobalFFOptions.Configure(new FFOptions { BinaryFolder = @"c:\tools\ffmpeg\bin",} );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 | Releases | Free Support | Temporary License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Aspose.Slides.NET:
| Package | Downloads |
|---|---|
|
Aspose.Total
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications. |
|
|
Verify.Aspose
Extends Verify (https://github.com/VerifyTests/Verify) to allow verification via Aspose. |
|
|
Weavy.Core
A class library containing core business logic, data access and utility methods required by Weavy. |
|
|
AsposeHelpers
Aspose helpers |
|
|
Weavy.Admin
Razor class library containing the management interface for Weavy. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 26.6.0 | 6,631 | 6/3/2026 |
| 26.5.0 | 15,102 | 5/5/2026 |
| 26.4.0 | 40,915 | 4/3/2026 |
| 26.3.0 | 42,915 | 3/5/2026 |
| 26.2.0 | 33,709 | 2/5/2026 |
| 26.1.0 | 22,098 | 1/13/2026 |
| 25.12.0 | 74,273 | 12/3/2025 |
| 25.11.0 | 41,046 | 11/11/2025 |
| 25.10.0 | 79,707 | 10/3/2025 |
| 25.9.0 | 30,049 | 9/3/2025 |
| 25.8.0 | 59,661 | 8/5/2025 |
| 25.7.0 | 135,209 | 7/2/2025 |
| 25.6.0 | 27,627 | 6/7/2025 |
| 25.5.0 | 55,478 | 5/7/2025 |
| 25.4.0 | 40,451 | 4/9/2025 |
| 25.3.0 | 73,250 | 3/6/2025 |
| 25.2.0 | 100,846 | 2/6/2025 |
| 25.1.0 | 111,489 | 1/13/2025 |
| 24.12.0 | 119,070 | 12/2/2024 |
| 24.11.0 | 96,878 | 11/7/2024 |