Save a Presentation in a Specified Format to Storage

Introduction

The following method allows you to covert a PowerPoint presentation located in a Cloud Storage to a desired format and save the result to the storage.

API Information

API Type Description Resource
/slides/{name}/{format} PUT Converts a presentation located in a storage to a specified format and saves the result to the storage. SavePresentation

Request Parameters

Name Type Location Required Description
name string path true The file name of the presentation.
format string path true The desired format for the conversion.
outPath string query true The output file path to save the result in the storage.
options object body false The format-specific options for the conversion.
password string header false The password to open the presentation.
folder string query false The folder path where the presentation is located.
storage string query false The name of the storage where the presentation is located.
fontsFolder string query false The path to the storage folder containing external fonts.
slides string query false The 1-based indices of the slides to be saved. If it is not specified, all slides are saved by default.

To use fontsFolder parameter, you can create storage folders and upload font files to them using Slides Cloud API.

You can convert parts of presentations using the optional slides parameter.

You can specify format-specific options using the options parameter.

cURL Examples

Convert MyFolder/example.pptx presentation located in MyStorage storage and save it to MyImages/output.tiff file into the same storage. The document should only contain the slides with indexes 1 and 3. The slides should contain slide notes in the output file.

SDK Source

Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. The Aspose.Slides Cloud SDKs can be downloaded from the following page: Available SDKs

SDK Examples

Convert MyFolder/example.pptx presentation located in MyStorage storage and save it to MyImages/output.tiff file into the same storage. The document should only contain the slides with indexes 1 and 3. The slides should contain slide notes in the output file.