IColor::GetGray Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IColor::GetGray Method}} | {{#customTitle:IColor::GetGray Method}} | ||
{{#parentPage:PXV:IColor#Methods|GetGray|method}} | {{#parentPage:PXV:IColor#Methods|GetGray|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets the shade of gray value of the current color. The value can be between '''0''' (black) and '''1''' (white). | |
− | + | ||
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT GetGray([out] float* nVal);</pre> | <pre class="brush:cpp;gutter:false">HRESULT GetGray([out] float* nVal);</pre> |
Revision as of 02:12, 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.
Return Value
Returns S_OK if operation was successful or error code in other cases.