Follow this article to create presentation with C# REST API. You will learn how to make a PowerPoint presentation with C# .NET-based API using a .NET-based SDK. It will share details so you can view the information on the newly created PPT/PPTX file and download it if required.
Prerequisite
- Create an account API credentials
- Download Aspose.Slides Cloud SDK for Dotnet for creating a presentation
- Setup C# project with the above SDK to generate PPTX 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
This code demonstrates how to make PPT with C# REST API by setting the new presentation name as PPT or PPTX according to your requirements. If you want to create a presentation in a particular folder in the Cloud storage, pass the folder and storage name. You can also set a password for the newly created presentation by providing passwords while calling the CreatePresentation method.
This article has taught us creating a PPT maker with C# REST API. If you want to merge presentations, refer to the article on Merge presentations with NET REST API.