IColor::GetGray Method
From PDF XChange PDF SDK
Line 11: | Line 11: | ||
== Parameters == | == Parameters == | ||
;nVal | ;nVal | ||
− | :[out] Pointer to float. | + | :[out] Pointer to float containing the shade of gray value. |
== Return Value == | == Return Value == |
Latest revision as of 02:14, 16 March 2017
Gets the shade of gray value of the current color. The value can be between 0 (black) and 1 (white).
Syntax
HRESULT GetGray([out] float* nVal);
Parameters
- nVal
- [out] Pointer to float containing the shade of gray value.
Return Value
Returns S_OK if operation was successful or error code in other cases.