Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NColor Structure / Equals Method / Equals(NColor) Method
The color to compare with.


In This Topic
    Equals(NColor) Method
    In This Topic
    Determines if this color is equal to the specified color.
    Syntax
    'Declaration
     
    
    Public Overloads Function Equals( _
       ByVal other As NColor _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NColor
    Dim other As NColor
    Dim value As System.Boolean
     
    value = instance.Equals(other)
    public System.bool Equals( 
       NColor other
    )

    Parameters

    other
    The color to compare with.

    Return Value

    Returns true if the colors are equal.
    Remarks
    The RGB representation of the colors is used for the comparison even if the colors are specified in other color spaces.
    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