Spread WPF 17
GrapeCity.Excel Namespace / GcRect Structure / Equals Method / Equals(GcRect,GcRect) Method
The first rectangle to compare.
The second rectangle to compare.


In This Topic
    Equals(GcRect,GcRect) Method
    In This Topic
    Indicates whether the specified rectangles are equal.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Equals( _
       ByVal rect1 As GcRect, _
       ByVal rect2 As GcRect _
    ) As Boolean
    'Usage
     
    Dim rect1 As GcRect
    Dim rect2 As GcRect
    Dim value As Boolean
     
    value = GcRect.Equals(rect1, rect2)
    public static bool Equals( 
       GcRect rect1,
       GcRect rect2
    )

    Parameters

    rect1
    The first rectangle to compare.
    rect2
    The second rectangle to compare.

    Return Value

    true if the rectangles have the same location and size; otherwise, false.
    See Also