Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NColor Structure / ToGrayscale Method


In This Topic
    ToGrayscale Method
    In This Topic
    Returns a grayscale color in the same color space as this one.
    Syntax
    'Declaration
     
    
    Public Function ToGrayscale() As NColor
    'Usage
     
    
    Dim instance As NColor
    Dim value As NColor
     
    value = instance.ToGrayscale()
    public NColor ToGrayscale()

    Return Value

    The grayscale color corresponding to this color value.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also