Home > PHP > Function > PDF > PDF_add_thumbnail()

PDF_add_thumbnail()

PDF_add_thumbnail - Add thumbnail for current page

Syntax

bool PDF_add_thumbnail (resource $pdfdoc, int $image)

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().

Description

Adds an existing image as thumbnail for the current page. Returns TRUE on success or FALSE on failure.

Version

PHP 4.0.5, PECL pdflib >= 1.0.0

Return value