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