Page.getGrayStroke

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

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

class Page
float
getGrayStroke
()

Return Value

Type: float

when succeed, it returns the current value of the page's stroking color. Otherwise it returns 0.

Meta