Home > PHP > Function > PDF > PDF_fit_textline()

PDF_fit_textline()

PDF_fit_textline - Place single line of text

Syntax

bool PDF_fit_textline (resource $pdfdoc, string $text, float $x, float $y, string $optlist)

Arguments

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

Version

PHP PECL pdflib >= 2.0.0

Return value