Forum und email

cpdf_setgray

(PHP 4, PHP 5 <= 5.0.5)

cpdf_setgray — Sets drawing and filling color to gray value

설명

bool cpdf_setgray ( int $pdf_document , float $gray_value )

Sets the current drawing and filling color to the given gray value.

매개변수

pdf_document

cpdf_open()이 반환한 문서 핸들.

gray_value

The gray value, as a float

반환값

성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.