createDocxAndDownload

createDocxAndDownload

BASIC / ADVANCED / PREMIUM

Generates and downloads the Word document.

Description
public createDocxAndDownload ( [string $fileName, bool $removeAfterDownload] )
Parameters

fileName

File name of the document to download. This option also sets the target folder to be used to generate the DOCX before downloading it.

removeAfterDownload

Removes the file after the download dialog opens.

Code samples

Example #1