IColor::GetGray Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IColor::GetGray Method}}
 
{{#customTitle:IColor::GetGray Method}}
{{#parentPage:PXV:IColor#Methods|GetGray Method|method}}
+
{{#parentPage:PXV:IColor#Methods|GetGray|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
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*  pVal);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetGray([out]  float*  nVal);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pVal
+
;nVal
:[out]  Pointer to float.
+
:[out]  Pointer to float containing the shade of gray value.
  
 
== Return Value ==
 
== Return Value ==
Line 19: Line 17:
  
 
== See Also ==
 
== See Also ==
[[PXV:IColor|IColor]].
+
[[PXV:IColor|IColor]]

Latest revision as of 03: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.

See Also

IColor