GrapeCity.Xaml.Excel
Equals(GcColor,GcColor) Method


GrapeCity.Excel Namespace > GcColor Structure > Equals Method : Equals(GcColor,GcColor) Method
The first GrapeCity.Excel.GcColors to compare.
The second GrapeCity.Excel.GcColors to compare.
Indicates whether the specified GrapeCity.Excel.GcColors are equal.
Syntax
'Declaration
 
Public Overloads Shared Function Equals( _
   ByVal color1 As GcColor, _
   ByVal color2 As GcColor _
) As Boolean
'Usage
 
Dim color1 As GcColor
Dim color2 As GcColor
Dim value As Boolean
 
value = GcColor.Equals(color1, color2)
public static bool Equals( 
   GcColor color1,
   GcColor color2
)

Parameters

color1
The first GrapeCity.Excel.GcColors to compare.
color2
The second GrapeCity.Excel.GcColors to compare.

Return Value

true if the GrapeCity.Excel.GcColor have the sameARGB value; otherwise, false.
See Also

Reference

GcColor Structure
GcColor Members
Overload List