PHP Manual
Prev |  | Next

# pdf_setgray_fill

(PHP 3>= 3.0.6, PHP 4 , PHP 5)

pdf_setgray_fill -- Sets filling color to gray value

## Description

bool pdf_setgray_fill ( resource pdfdoc, float gray)

Set the current fill color to a gray value between 0 and 1 inclusive. Returns `TRUE` on success or `FALSE` on failure.

> Note: PDFlib V4.0: Deprecated, use pdf_setcolor() instead.

Prev | Home | Next
pdf_setfont | Up | pdf_setgray_stroke