Home > PHP > Function > PDF > PDF_setdash()

PDF_setdash()

PDF_setdash - Set simple dash pattern

Syntax

bool PDF_setdash (resource $pdfdoc, float $b, float $w)

Arguments

  • pdfdoc - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • b - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • w - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().

Description

Sets the current dash pattern to b black and w white units. Returns TRUE on success or FALSE on failure.

Version

PHP 4, PECL pdflib >= 1.0.0

Return value