IColor::SetGray Method

From Tracker Software PDF SDK
Jump to: navigation, search
(Parent page removed)
 
(5 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IColor::SetGray Method}}
 
{{#customTitle:IColor::SetGray Method}}
{{ToWrite}}
+
{{#parentPage:PXV:IColor#Methods|SetGray|method}}
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Sets the shade of gray value of the current color. The value can be between '''0''' (black) and '''1''' (white).
  
 
== Syntax ==
 
== Syntax ==
Line 18: Line 18:
  
 
== See Also ==
 
== See Also ==
[[PXV:IColor|IColor]].
+
[[PXV:IColor|IColor]]

Latest revision as of 02:15, 16 March 2017


Sets the shade of gray value of the current color. The value can be between 0 (black) and 1 (white).

Syntax

HRESULT SetGray([in]  float  nVal);

Parameters

nVal
[in] Value of float.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IColor