savePptxAndDownload

savePptxAndDownload

BASIC / ADVANCED / PREMIUM

Generates and downloads the PowerPoint presentation.

Description
public savePptxAndDownload($fileName, $removeAfterDownload = false)
Parameters

fileName

File name and path of the new PPTX file to be downloaded.

removeAfterDownload

Removes the file after the download dialog opens.

Exceptions

The license is not valid.

The XSLX can't be saved.

Code samples

Example #1

Release notes
  • phppptx 1.0:
    • new method.