removeSlide

removeSlide

PREMIUM TRIAL / ADVANCED

Removes slides from a PowerPoint document.

Description
public removeSlide (string $source, string $target, array $options)

This method allows to remove slides by their position.

Parameters

source

The path to the source PowerPoint document.

target

The path to the resulting PowerPoint document.

options

The possible keys and values are:

Key Type Description
slideNumber array Slide numbers to remove.
Code samples

Example #1

Release notes
  • phpdocx 8.5:
    • new method.