Nevron .NET Vision
Nevron.GraphicsCore Namespace / NColor Class / ConvertToGrayScale(Color) Method


In This Topic
    ConvertToGrayScale(Color) Method
    In This Topic
    Converts the color to its grayscale equivalent.
    Syntax
    'Declaration
     
    
    Public Shared Function ConvertToGrayScale( _
       ByVal color As System.Drawing.Color _
    ) As System.Drawing.Color
    'Usage
     
    
    Dim color As System.Drawing.Color
    Dim value As System.Drawing.Color
     
    value = NColor.ConvertToGrayScale(color)
    public static System.Drawing.Color ConvertToGrayScale( 
       System.Drawing.Color color
    )

    Parameters

    color
    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