Learn how to programmatically create PowerPoint presentations using the C# REST API. This step‑by‑step guide demonstrates how to build PPT/PPTX files with the Aspose.Slides Cloud .NET SDK, preview the resulting slides, and download the presentation whenever you need it.
Prerequisite
- Create an account API credentials
- Download the Aspose.Slides Cloud SDK for Dotnet to start building presentations
- Configure a C# project with the SDK to generate PPTX files online
Steps to Create PowerPoint with C# RESTful Service
- Create an object of the SlidesApi and set the client ID and secret for creating a presentation
- Call the CreatePresentation() method providing the presentation name
- Display information from the response object returned by the API call
- Download the newly created presentation
These steps describe how to create a PowerPoint presentation with C# RESTful Service. Create the SlidesApi object by setting the client ID and secret and call the CreatePresentation() method to create an empty PowerPoint presentation in the Cloud storage. Display information of the new file created by the API using the response object and download the file to the local disk if required.
Code for Online PowerPoint Maker with C# REST Interface
In summary, this example demonstrates how to create a PPT or PPTX with the C# REST API simply by assigning the desired file extension in the presentation name. To store the file in a specific cloud folder, just provide the folder path and storage name. You can also safeguard the presentation with a password by passing the password parameters to the CreatePresentation method.
You’ve now built a PPT maker with C# REST API. When you’re ready to combine slides from multiple decks, explore our guide on Merge presentations with NET REST API.