From Tracker Software PDF SDK
Sets the shade of gray value of the current color. The value can be between 0 (black) and 1 (white).
HRESULT SetGray([in] float nVal);
- [in] Value of float.
Returns S_OK if operation was successful or error code in other cases.