Remove a Range of Paragraphs from a PowerPoint Presentation

Introduction

This article shows how you can remove a range of paragraphs in PowerPoint presentations using Aspose.Slides for Cloud API. You can use our REST API with any language: .NET, Java, PHP, Ruby, Python, ะก++, and much more.

API Information

API Type Description Resource
/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs DELETE Removes a range of paragraphs in a shape. DeleteParagraphs

Request Parameters

Name Type Location Required Description
name string path true The presentation file name.
slideIndex integer path true The 1-based index of the presentation slide.
shapeIndex integer path true The 1-based index of the shape.
paragraphs string query false The indices of paragraphs to be deleted. Delete all by default.
password string header false The password to open the presentation.
folder string query false The folder where the presentation file is located.
storage string query false The storage where the presentation file is located.
subShape string query false Sub-shape path (e.g. “3”, “3/shapes/2)

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

cURL Example

SDK Source

The Aspose for Cloud SDKs can be downloaded from the following page: Available SDKs.

SDK Examples