JSON API - addSlide
- getTemplateVariables
- getTemplateVariablesType
- processTemplate
- removeVariableAudio
- removeVariableImage
- removeVariableText
- removeVariableVideo
- replaceVariableAudio
- replaceVariableHtml
- replaceVariableImage
- replaceVariableList
- replaceVariablePptxFragment
- replaceVariableTable
- replaceVariableText
- replaceVariableVideo
- setTemplateSymbol
addSlide
PREMIUM
TRIAL / ADVANCED
Inserts a new slide into the PowerPoint presentation.
Note
You are reading the JSON API documentation. For the PHP API method please go to addSlide.
JSON data
| Key | Description |
|---|---|
| active | If true set as internal active slide. Default as false. |
| cleanLayoutParagraphContents | If false do not remove paragraph contents from the layout. Default as true. |
| cleanSlidePlaceholderTypes |
Placeholder types to be cleaned from the layout. Default as: dt, ftr, hdr, sldNum. Allowed types:
|
| layout |
Layout (name) to be used. If not set, the layout from the active slide is used. Default layouts:
|
| position | Slide position. 0 is the first slide. -1 (last) as default. If section is set, use this position to add the slide in the section. |
| section | Section to add the slide. 0 is the first section. -1 is the last section. If not set, the slide is not added in a section. |
Code samples
Example #1
Example #2
Release notes
- phppptx 5.0:
- new action.