Add an Effect to a Main Sequence

Introduction

Aspose.Slides Cloud API allows you to work with the collection of effects in the main animation sequence of a slide. You can use the following method to add an effect to a main animation sequence.

CreateAnimationEffect

API Information

API Type Description Resource
/slides/{name}/slides/{slideIndex}/animation/mainSequence POST Adds an effect to a main animation sequence on a slide. CreateAnimationEffect

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file saved in a storage.
slideIndex integer path true The 1-based index of a presentation slide.
effect Effect body true The data transfer object with effect parameters.
password string header false The password to open the presentation.
folder string query false The path to a folder containing the presentation.
storage string query false The name of the storage contaning the folder.

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

Examples

Add the Wipe effect to the second shape on the first slide in MyFolder/MyPresentation.pptx document. The animation should occur on a mouse click.

cURL Solution

SDK Solutions

SDKs

Check Available SDKs to learn how to add an SDK to your project.