removeShapeSlide
- getTemplateVariables
- getTemplateVariablesType
- removeVariableAudio
- removeVariableImage
- removeVariableText
- removeVariableVideo
- replaceVariableAudio
- replaceVariableHtml
- replaceVariableImage
- replaceVariableList
- replaceVariablePptxFragment
- replaceVariableTable
- replaceVariableText
- replaceVariableVideo
- setTemplateSymbol
removeShapeSlide

Removes existing shapes (text boxes) from the active slide.
Description
public removeShapeSlide($position, $options = array())
This method removes existing shapes (text boxes) from the active slide.
Parameters
position
Key | Type | Description |
---|---|---|
placeholder | array |
Query the shape to be removed.
|
Exceptions
Position not valid.
Code samples
Example #1
Release notes
- phppptx 3.5:
- improved cleaning timing tags related to the removed shape.
- phppptx 3.0:
- handle timing tags related to the removed shape.
- phppptx 1.0:
- new method.