JSON API - addTextBox
- getTemplateVariables
- getTemplateVariablesType
- processTemplate
- removeVariableAudio
- removeVariableImage
- removeVariableText
- removeVariableVideo
- replaceVariableAudio
- replaceVariableHtml
- replaceVariableImage
- replaceVariableList
- replaceVariablePptxFragment
- replaceVariableTable
- replaceVariableText
- replaceVariableVideo
- setTemplateSymbol
addTextBox
PREMIUM
TRIAL / ADVANCED
Inserts a text box into the PowerPoint presentation.
Note
You are reading the JSON API documentation. For the PHP API method please go to addTextBox.
JSON data
| Key | Description |
|---|---|
| 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. |
| autofit | autofit (default), noautofit, shrink. |
| border |
|
| columns |
|
| descr | Descr value. |
| fill |
|
| margin |
|
| rotation | 60.000ths of a degree. |
| textDirection | horz, vert, vert270, wordArtVert, eaVert, mongolianVert, wordArtVertRtl. |
| verticalAlign | top, middle, bottom, topCentered, middleCentered, bottomCentered. |
| wrap | square, none. |
Code samples
Example #1
Release notes
- phppptx 5.0:
- new action.