Page.getGrayFill

Gets the current value of the page's filling color.

grayFill() is valid only when the page's stroking color space is HPDF_CS_DEVICE_GRAY.

class Page
float
getGrayFill
()

Return Value

Type: float

when getGrayFill() succeed, it returns the current value of the page's filling color. Otherwise it returns 0.

Meta