Get Effective Values of a Text Portion
Introduction
Effective values are format values that are actually applied to the text portion. They are either explicitly set in the text portion 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 a specific text portion, the value from the default text portion format of the parent paragraph will be taken, if available. If not, the value is taken from the presentation theme.
GetPortionEffective
API Information
API | Type | Description | Resource |
---|---|---|---|
/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/effective | GET | Returns the effective format values of a text portion from a presentation saved in a storage. | GetPortionEffective |
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. |
portionIndex | integer | path | true | The 1-based index of a text portion. |
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 with three text portions. Get effective format values of the second text portion.
cURL Solution
SDK Solutions
SDKs
Check Available SDKs to learn how to add an SDK to your project.\