Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / Rect Structure / IntersectsWith Method
The rectangle to test.


In This Topic
    IntersectsWith Method (Rect)
    In This Topic
    Determines if this rectangle intersects with rect.
    Syntax
    'Declaration
     
    
    Public Function IntersectsWith( _
       ByVal rect As Rect _
    ) As Boolean
    'Usage
     
    
    Dim instance As Rect
    Dim rect As Rect
    Dim value As Boolean
     
    value = instance.IntersectsWith(rect)
    public bool IntersectsWith( 
       Rect rect
    )

    Parameters

    rect
    The rectangle to test.

    Return Value

    This method returns true if there is any intersection, otherwise false.
    See Also