removeVariableImage

removeVariableImage

BASIC / ADVANCED / PREMIUM

Removes image placeholder variables from the PowerPoint presentation.

Description
public removeVariableImage($variables, $options = array())

This method allows to remove image placeholder variables.

Parameters

$variables

Array of variables to remove.

options

Key Type Description
activeSlide bool If true, get only the active slide. Default as false.
target string slides (default), slideLayouts, slideMasters.
Code samples

Example #1

Release notes
  • phppptx 3.5:
    • improved cleaning timing tags related to the removed shape.
  • phppptx 3.0:
    • new method.