Home > PHP > Function > PDF > PDF_begin_page_ext()

PDF_begin_page_ext()

PDF_begin_page_ext - Start new page

Syntax

bool PDF_begin_page_ext (resource $pdfdoc, float $width, float $height, string $optlist)

Arguments

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

Adds a new page to the document, and specifies various options. The parameters width and height are the dimensions of the new page in points. Returns TRUE on success or FALSE on failure.

Version

PHP PECL pdflib >= 2.0.0

Return value