removeShapeSlide

removeShapeSlide

BASIC / ADVANCED / PREMIUM

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.

  • 'name' (string) placeholder name.
  • 'descr' (string) placeholder alt text (descr) value.
  • 'position' (int) placeholder position by order. 0 is the first order position.
  • 'type' (string) title (Title), body (Body), ctrTitle (Centered Title), subTitle (Subtitle).
Exceptions

Position not valid.

Code samples

Example #1

Release notes
  • phppptx 1.0: new method.