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


GrapeCity.Excel Namespace > GcRect Structure > Equals Method : Equals(GcRect,GcRect) Method
The first rectangle to compare.
The second rectangle to compare.
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

Reference

GcRect Structure
GcRect Members
Overload List