Home > PHP > Function > PDF > PDF_begin_document()

PDF_begin_document()

PDF_begin_document - Create new PDF file

Syntax

int PDF_begin_document (resource $pdfdoc, string $filename, string $optlist)

Arguments

  • pdfdoc - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • filename - 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

Creates a new PDF file subject to various options.

Version

PHP PECL pdflib >= 2.0.0

Return value