PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / Utils Class / IsColorEquals Method
First color.
Second color

In This Topic
    IsColorEquals Method (Utils)
    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