Get Paragraph Effective Values

Introduction

Effective values are format values that are actually applied to the paragraph. They are either explicitly set in the paragraph or implicitly returned as a result of inheritance. They represent the final result of formatting that might be seen in the PowerPoint or in an exported document. For example, if the font height value is not defined for the specific portion of text, the value from the default portion format of the parent paragraph will be taken, if available. If not, the value is taken from the presentation theme. Use the following method to get the properties applied to a paragraph.

GetParagraphEffective

API Information

API Type Description Resource
/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/effective GET Returns the effective format values of a paragraph from a presentation saved in a storage. GetParagraphEffective

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 a slide.
shapeIndex integer path true The 1-based index of a shape.
paragraphIndex integer path true The 1-based index of a paragraph.
password string header false The password to open the presentation.
folder string query false The path to the folder containing the presentation file.
storage string query false The name of the storage contaning the folder.
subShape string query false The path to a child shape (e.g. “3”, “3/shapes/2”).

Examples

In the default storage, the document MyPresentation.pptx contains a text box (the first shape) on the first slide. The text box contains a paragraph. Get alignment of the paragraph.

The slide

cURL Solution

SDK Solutions

SDKs

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