Download a Presentation in a Specified Format from Storage

Introduction

The following method allows you to download a PowerPoint presentation located in a Cloud Storage in a desired format.

API Information

API Type Description Resource
/slides/{name}/{format} POST Converts a presentation located in a storage to a specified format and returns the result. DownloadPresentation

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.
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

Download MyFolder/example.pptx presentation from MyStorage storage and save it as output.html document. The document should only contain the slides with indexes 2 and 4. The Helvetica font should be used in case a presentation font is not found.

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

Download MyFolder/example.pptx presentation from MyStorage storage and save it in HTML format. The document should only contain slides with indexes 2 and 4. The Helvetica font should be used in case some presentation fonts are not found.