Nevron.UI Namespace / NColorHelper Class / ToGrayScale Method / ToGrayScale(Color,Single) Method


ToGrayScale(Color,Single) Method
Syntax
'Declaration
 
Public Overloads Shared Function ToGrayScale( _
   ByVal value As System.Drawing.Color, _
   ByVal scale As System.Single _
) As System.Drawing.Color
 
'Usage
 
Dim value As System.Drawing.Color
Dim scale As System.Single
Dim value As System.Drawing.Color
 
value = NColorHelper.ToGrayScale(value, scale)

Parameters

value
scale
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also