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


In This Topic
    ToGrayScale(Color,Single) Method
    In This Topic
    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)
    public static System.Drawing.Color ToGrayScale( 
       System.Drawing.Color value,
       System.float 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