Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / Rect Structure / Intersect Method


In This Topic
    Intersect Method (Rect)
    In This Topic
    Creates a rectangle that represents the intersetion between a and b. If there is no intersection, null is returned.
    Syntax
    'Declaration
     
    
    Public Shared Function Intersect( _
       ByVal a As Rect, _
       ByVal b As Rect _
    ) As Rect
    'Usage
     
    
    Dim a As Rect
    Dim b As Rect
    Dim value As Rect
     
    value = Rect.Intersect(a, b)
    public static Rect Intersect( 
       Rect a,
       Rect b
    )

    Parameters

    a
    b
    See Also