(PHP 4, PHP 5 <= 5.0.5)
cpdf_setgray — Sets drawing and filling color to gray value
Sets the current drawing and filling color to the given gray value.
The document handle, returned by cpdf_open().
The gray value, as a float
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.