Read Text Items

Introduction

Aspose.Slides Cloud lets you easily read all text items from a PowerPoint presentation. This article shows REST methods for reading text items both from a single slide and from an entire presentation at once. You can specify whether empty items should also be considered. The methods below take into account any presentation object containing a text frame.

GetPresentationTextItems

API Information

API Type Description Resource
/slides/{name}/textItems GET Reads text items from a PowerPoint presentation. GetPresentationTextItems

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file.
withEmpty boolean query false Indicates whether empty text items should be considered. The default value is false.
password string header false The password to open the presentation.
folder string query false The path to the 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

Get all text items, including empty ones, from MyFolder/MyPresentation.pptx document saved to the default storage.

cURL Solution

SDK Solutions

GetSlideTextItems

API Information

API Type Description Resource
/slides/{name}/slides/{slideIndex}/textItems GET Reads text items from a presentation slide. GetSlideTextItems

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file.
slideIndex integer path true The 1-based index of the slide to read text items.
withEmpty boolean query false Indicates whether empty text items should be considered. The default value is false.
password string header false The password to open the presentation.
folder string query false The path to the 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

Get all text items from the second slide of MyFolder/MyPresentation.pptx document saved to the default storage. Ignore empty items.

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.