Home > PHP > Function > PDF > PDF_fit_image()

PDF_fit_image()

PDF_fit_image - Place image or template

Syntax

bool PDF_fit_image (resource $pdfdoc, int $image, float $x, float $y, string $optlist)

Arguments

  • pdfdoc - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • image - 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 image or template on the page, subject to various options. Returns TRUE on success or FALSE on failure.

Version

PHP PECL pdflib >= 2.0.0

Return value