PHP Manual
Prev |  | Next

# cpdf_setdash

(PHP 3 >= 3.0.8, PHP 4, PHP 5 <= 5.0.4)

cpdf_setdash -- Sets dash pattern

## Description

bool cpdf_setdash ( int pdf_document, float white, float black )

The cpdf_setdash() function set the dash pattern white white units and black black units. If both are 0 a solid line is set. Returns `TRUE` on success or `FALSE` on failure.

Prev | Home | Next
cpdf_set_word_spacing | Up | cpdf_setflat