JSON API - addSvg
- getTemplateVariables
- getTemplateVariablesType
- processTemplate
- removeVariableAudio
- removeVariableImage
- removeVariableText
- removeVariableVideo
- replaceVariableAudio
- replaceVariableHtml
- replaceVariableImage
- replaceVariableList
- replaceVariablePptxFragment
- replaceVariableTable
- replaceVariableText
- replaceVariableVideo
- setTemplateSymbol
addSvg
PREMIUM
TRIAL / ADVANCED
Inserts an SVG into the PowerPoint presentation.
Note
You are reading the JSON API documentation. For the PHP API method please go to addSvg.
JSON data
| Key | Description |
|---|---|
| svg | SVG path, or SVG content. |
| coordinateX | EMUs (English Metric Unit). |
| coordinateY | EMUs (English Metric Unit). |
| sizeX | EMUs (English Metric Unit). |
| sizeY | EMUs (English Metric Unit). |
| name | Internal name. If not set, a random name is generated. |
| order | Set the display order. Default after existing contents. 0 is the first order position. If the order position doesn't exist add after existing contents. |
| border |
|
| descr | Descr value. |
| rotation | 60.000ths of a degree. |
Code samples
Example #1
Release notes
- phppptx 5.0:
- new action.