Home > PHP > Function > PDF > PDF_end_document()

PDF_end_document()

PDF_end_document - Close PDF file

Syntax

bool PDF_end_document (resource $pdfdoc, string $optlist)

Arguments

  • pdfdoc - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • optlist - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().

Description

Closes the generated PDF file and applies various options.

Version

PHP PECL pdflib >= 2.0.0

Return value