status = annot:SetGrayColor(gray)
The gray parameter must be between 0 and 1.
gray
Returns #HPDF_OK on success. Otherwise, returns an error code and the error handler is invoked.
#HPDF_OK