Split a Presentation Saved to a Local File

Introduction

The article shows you how to split a PowerPoint presentation stored in a local file and receive splitted parts.

API Information

API Type Description Resource
/slides/split/{format} POST Splits a presentation file stored in a local file and returns the result. SplitOnline

Request Parameters

Name Type Location Required Description
document file formData true The presentation file.
format string path true The format for output files. See the table for available formats. The default value is jpeg.
width integer query false The width of each slide in the output files. Does not affect the HTML format.
height integer query false The height of each slide in the output files. Does not affect the HTML format.
from integer query false The 1-based starting slide number for the splitting. If it is not specified, the splitting starts from the first slide of the presentation.
to integer query false The 1-based last slide number for the splitting. If it is not specified, the splitting ends at the last slide of the presentation.
password string header false The password to open the presentation.
storage string query false The name of the storage where the presentation is saved. If it is not specified, the default storage is assumed.
fontsFolder string query false The path to the storage folder containing custom fonts that can be used in the presentation.

In case of Amazon S3 storage folder path starts with Amazon S3 bucket name.

Splitting a Range of Slides

Split the 2nd and 3rd slides from MyPresentation.pptx file and receive the output slides in PDF format.

cURL Solution

SDK Solutions

SDKs

Using an SDK (API client) is the quickest way for a developer to speed up 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. Check out our GitHub repository for a complete list of Aspose.Slides Cloud SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.