PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / Utils Class / IsColorEquals(Color,Color) Method
First color.
Second color

In This Topic
    IsColorEquals(Color,Color) Method
    In This Topic
    Tests whether specified colors are equal.
    Syntax
    'Declaration
     
    Public Shared Function IsColorEquals( _
       ByVal color1 As Color, _
       ByVal color2 As Color _
    ) As Boolean
    public static bool IsColorEquals( 
       Color color1,
       Color color2
    )

    Parameters

    color1
    First color.
    color2
    Second color

    Return Value

    true if the specified colors are equal, false otherwise.
    See Also