Read Properties of Paragraphs

Introduction

This article shows how you can read the formatting properties of paragraphs from 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 GET Reads properties of paragraphs in a shape. GetParagraphs

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

Read information about paragraphs from a shape at index 3 on a slide at index 1 in example.pptx. The storage is ‘Main’. The folder is ‘Data’.

SDK Source

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

SDK Examples

Read the number of paragraphs in a shape at index 3 on a slide at index 1 in example.pptx. The storage is ‘Main’. The folder is ‘Data’.