Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NColor Structure / GetNameOrHex Method
The color whose name or HEX equivalent to get.


In This Topic
    GetNameOrHex Method
    In This Topic
    Gets the name or the HEX equivalent of a given color.
    Syntax
    'Declaration
     
    
    Public Shared Function GetNameOrHex( _
       ByVal color As NColor _
    ) As System.String
    'Usage
     
    
    Dim color As NColor
    Dim value As System.String
     
    value = NColor.GetNameOrHex(color)
    public static System.string GetNameOrHex( 
       NColor color
    )

    Parameters

    color
    The color whose name or HEX equivalent to get.

    Return Value

    The name or the HEX equivalent of the given color.
    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