Home > PHP > Function > PDF > PDF_fit_pdi_page()

PDF_fit_pdi_page()

PDF_fit_pdi_page - Place imported PDF page

Syntax

bool PDF_fit_pdi_page (resource $pdfdoc, int $page, float $x, float $y, string $optlist)

Arguments

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

Places an imported PDF page on the page, subject to various options. Returns TRUE on success or FALSE on failure.

Version

PHP PECL pdflib >= 2.0.0

Return value