Create a New Paragraph in a PowerPoint Presentation
Contents
[
Hide
]
Introduction
This article shows how you can create a new paragraph 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 | POST | Creates a new paragraph in a shape. | CreateParagraph |
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. |
dto | object | body | true | The data transfer object of the paragraph. |
position | integer | query | false | The position of the new paragraph in the list. Default is at the end of the list. |
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. |
In case of Amazon S3 storage folder path starts with Amazon S3 bucket name.
cURL Example
You can add an empty paragraph or paragraph with portions.
SDK Source
The Aspose for Cloud SDKs can be downloaded from the following page: Available SDKs.