Skip to content

aspose-slides/Aspose.Slides-for-.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuget Nuget GitHub

PowerPoint File Manipulation API

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.

Directory Description
Demos Source code for live demos hosted at https://products.aspose.app/slides/family.
Examples A collection of .NET examples that help you learn the product features.
Plugins Visual Studio Plugins related to Aspose.Slides for .NET.

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 Presentations

Microsoft PowerPoint: PPT, PPTX, PPS, POT, PPSX, PPTM, PPSM, POTX, POTM
OpenOffice: ODP, OTP

Save Presentations As

Fixed Layout: PDF, PDF/A, XPS
Image: JPEG, PNG, BMP, TIFF, GIF, SVG
Web: HTML

Platform Independence

Aspose.Slides for .NET can be used to build any type of a 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 & Xamarin.Mac.

Get Started with Aspose.Slides for .NET

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

// 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

// 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);
}

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