Create Presentation with C# REST API

Master how to generate a PowerPoint presentation using the C# REST API. This guide walks you through creating PPT/PPTX files with the Aspose.Slides Cloud .NET SDK, letting you preview the new presentation and download it whenever needed.

Prerequisite

Steps to Create PowerPoint with C# RESTful Service

  1. Create an object of the SlidesApi and set the client ID and secret for creating a presentation
  2. Call the CreatePresentation() method providing the presentation name
  3. Display information from the response object returned by the API call
  4. 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 example shows how to make PPT with C# REST API by assigning the desired file extension—PPT or PPTX—when you name the new presentation. To store the file in a specific cloud folder, simply supply the folder path and storage name. Additionally, you can protect the presentation with a password by passing the password parameters to the CreatePresentation method.

In this tutorial we built a PPT maker with C# REST API. When you’re ready to combine slides from multiple decks, see our guide on Merge presentations with NET REST API.

 English