Copy a Layout Slide

Introduction

With Aspose.Slides Cloud, you can copy a layout slide from one PowerPoint presentation to another. The following method allows you to specify file names of the presentations and an index of the layout slide to be copied.

CopyLayoutSlide

API Information

API Type Description Resource
/slides/{name}/layoutSlides POST Copies a layout slide from one presentation to another. CopyLayoutSlide

Request Parameters

Name Type Location Required Description
name string path true The name of a destination presentation file.
cloneFrom string query true The name of a source presentation file.
cloneFromPosition integer query true The index of the layout slide.
cloneFromPassword string header false The password to open the source presentation.
cloneFromStorage string query false The name of the storage containing the source presentation.
password string header false The password to open the destination presentation.
folder string query false The path to the folder containing the destination 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

Copy the third layout slide from the presentation MyTemplates/SalesTemplate.pptx to the document MyFolder/MyPresentation.pptx. Both presentations have been saved to the default storage.

cURL Solution

SDK Solutions

SDKs

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