Slide sections in PowerPoint are a feature that allows you to organize and structure the content within your presentation. Sections help you group slides together based on specific subjects of your presentation. This feature is especially useful for larger presentations with numerous slides and diverse content. Aspose.Slides Cloud API allows you to read, create, rename, move, and delete sections of slides in presentations.
The path to the folder containing the presentation.
storage
string
query
false
The name of the storage contaning the folder.
SetSections
Name
Type
Location
Required
Description
name
string
path
true
The name of a presentation file.
sections
object
body
true
The parameters for the sections.
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.
CreateSection
Name
Type
Location
Required
Description
name
string
path
true
The name of a presentation file.
sectionName
string
query
true
The name of a section.
slideIndex
integer
query
true
The 1-based index of the first slide in the section.
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.
DeleteSections
Name
Type
Location
Required
Description
name
string
path
true
The name of a presentation file.
sections
string
query
false
The indices of the sections to be deleted. Delete all by default.
withSlides
boolean
query
false
If true, delete the slides related to the deleted sections, otherwise move them to the remaining sections.
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.
MoveSection
Name
Type
Location
Required
Description
name
string
path
true
The name of a presentation file.
sectionIndex
integer
path
true
The 1-based index of the section to be moved.
newPosition
integer
query
true
The new position of the section.
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.
UpdateSection
Name
Type
Location
Required
Description
name
string
path
true
The name of a presentation file.
sectionIndex
integer
path
true
The 1-based index of the section to be updated.
sectionName
string
query
true
The new name of the section.
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.
DeleteSection
Name
Type
Location
Required
Description
name
string
path
true
The name of a presentation file.
sectionIndex
integer
path
true
The 1-based index of the section to be deleted.
withSlides
boolean
query
false
If true, delete the slides related to the deleted section, otherwise move them to the remaining sections.
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.
When a presentation doesn’t contain any sections, and you add sections starting from a slide other than the first one, another section with the name Default Section will be also added, starting from the first slide.
Examples
A MyPresentation.pptx document contains six slides. Set a Products section starting on the 3th slide and a Support section starting on the 5th slide. Rename the default section to Introduction. Read information about all sections.
cURL Solution
SDK Solutions
Result
SDKs
Check Available SDKs to learn how to add an SDK to your project.