Aspose.Slides for .NET is a Presentation Processing API for PowerPoint and OpenOffice formats. Aspose.Slides enables applications to read, write, protect, modify and convert presentations in .NET C#. Manage presentation text, shapes, charts, tables & animations, add audio & video to slides, preview slides.
Aspose.Slides for .NET supports all of the popular presentation formats. Use C# to merge, split, clone and reuse multiple PowerPoint presentations, templates and slides in numerous ways. Moreover, API offers a number of advanced features such as printing on physical printers and rendering presentations to fixed-layout formats, HTML & images.
Aspose.Slides for .NET is a standalone API and does not require Microsoft PowerPoint or any other additional software or library.
At a Glance
An overview of API capabilities.
- Manage Charts
- Manage SmartArts
- Manage PowerPoint Shapes
- Manage ActiveX Controls
- Manage OleObjects
- Manipulate Text & Formatting
- Manipulate Hyperlink Text
- Set Placeholder Type
- Manage Slide Transitions
- Manage Animation Effects
- Add Connectors to Shapes
- Rotate & Flip Shapes
- Manage Shape's Line Styles
Aspose.Slides for .NET supports .NET Framework, .NET Core & Xamarin platform. Also, it can be used with Mono & other platforms via COM Interop.
- PHP, VBScript, Delphi, C++
Supported File Formats
Aspose.Slides for .NET supports the popular presentation formats and export formats listed below.
- Microsoft PowerPoint: PPT, PPTX, PPS, POT, PPSX, PPTM, PPSM, POTX, POTM
- OpenOffice: ODP
- Fixed Layout: PDF, PDF/A, XPS
- Images: JPEG, PNG, BMP, TIFF, GIF
- Web: HTML
Advanced .NET C# PowerPoint API Features
Create or clone slides from templates
Work with PowerPoint tables via API
Apply or remove the protection on shapes
Add Excel charts as OleObjects to slides
Support for Linked OleObjects
Generate presentations from database
Protect presentations & resultant PDF
Print presentations on a physical printer
Create & customize charts
Convert Presentation to PDF, HTML, TIFF or XPS in .NET C#
Aspose.Slides for .NET API has its own rendering engine, specially designed for rendering PowerPoint and OpenOffice formats with the highest fidelity. The .NET C# PowerPoint API allows you to export presentations into a number of industry-standard formats such as PDF, HTML, TIFF and XPS with results identical to the original presentation. Moreover, in order to convert a PPT in C#, you only need to load the presentation file and call the Save method along with the desired output format. C# PowerPoint conversion is really that simple with Aspose.Slides for .NET API.
Render presentations - C#
// load the file to be converted var prs = new Aspose.Slides.Presentation(dir + "template.pptx"); // render as PDF, XPS & TIFF prs.Save(dir + "output.pdf", Aspose.Slides.Export.SaveFormat.Pdf); prs.Save(dir + "output.xps", Aspose.Slides.Export.SaveFormat.Xps); prs.Save(dir + "output.tiff", Aspose.Slides.Export.SaveFormat.Tiff);
Format Presentation Content in .NET C#
It is possible to format text and shapes on slides in C# using Aspose.Slides .NET API. Text on presentations is managed with the help of text frames associated with shapes. Hence making it easy for the developers to format text using paragraphs & portions associated with the text frames. You can also manipulate attributes of shape elements like position, size, line, image, text and fill using our C# PowerPoint API.
Create and modify PowerPoint SmartArt in .NET C#
Aspose.Slides for .NET facilitates in creating SmartArt shapes from scratch as well as provides the ability to access, manipulate or remove existing SmartArt objects from a slide. Furthermore, the .NET C# PowerPoint API provides the ability to add, remove or iterate the nodes of a SmartArt. You may also dynamically modify the SmartArt's appearance such as setting style, color & layout.
Protect Presentation in .NET C#
Aspose.Slides for .NET API can lock presentation files in order to protect the contents from changing. Developers may also password protect the PPT in C#, as well as the converted PDF document for secure distribution. The C# PowerPoint API also supports the read-only access mode for the generated presentations and its document properties.
Create Presentation Viewer with Slide Thumbnails in .NET C#
Aspose.Slides for .NET can generate thumbnails of the slides so that you may distribute slide images to those users who do not have the PowerPoint application installed on their machines. You may use the C# PowerPoint API to view PPT in .NET C# application of any type: custom website, desktop app, etc. Use this feature to create your own presentation viewer in C#.
Generate slide thumbnails via .NET - C#
// load the presentation file var prs = new Aspose.Slides.Presentation(dir + "template.pptx"); // access the first slide from the collection var sld = prs.Slides; // create a full scale image of the slide var bmp = sld.GetThumbnail(1f, 1f); // save the image in JPEG format bmp.Save(dir + "output.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
Microsoft Office Automation – Not Needed
Aspose.Slides for .NET is built using managed code that does not need Microsoft Office or Microsoft PowerPoint to be installed on the machine to work with PowerPoint document formats. It is a perfect Microsoft Office automation alternative in terms of supported features, security, stability, scale-ability, speed and price.
What People Are Saying
Don't just take our word for it. See what users have to say about PowerPoint APIs.
We have found Aspose.Slides to be easy to use and to work nicely on our ASP.Net servers. We have found they fill an important need for dynamically generating files to expand our reach beyond the traditional web application. Rick Joi | Workplace Dynamics, UK
The product worked as advertised, the documentation was easy to follow, and the support forums were all the help we needed. The final solution that we deployed has exceeded our initial expectations by a great deal. Bruce Brien | Stratascope Inc, USA
Aspose.Slides offers individual PowerPoint APIs for other popular development environments as listed below: