IColor::SetGray Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IColor::SetGray Method}} | {{#customTitle:IColor::SetGray Method}} | ||
{{#parentPage:PXV:IColor#Methods|SetGray|method}} | {{#parentPage:PXV:IColor#Methods|SetGray|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Sets the shade of gray value of the current color. The value can be between '''0''' (black) and '''1''' (white). | |
== Syntax == | == Syntax == |
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.