JSON API - addSection

addSection

PREMIUM TRIAL / ADVANCED

Inserts a new section into the PowerPoint presentation.

Note

You are reading the JSON API documentation. For the PHP API method please go to addSection.

JSON data
Key Description
allowDuplicateSectionNames If true creates a new section if a section with the same name already exists. Default as false.
name Section name. Default as 'New section'.
moveSlidesWithoutSections If true move slides without sections to this new section. Default as false.
position Position. 0 is the first position. -1 (last) as default.
Code samples

Example #1

Example #2

Release notes
  • phppptx 5.0:
    • new action.