Ribbon for WinForms | ComponentOne
C1.Win.Interop Namespace / Rect Structure / Intersect Method / Intersect(Rect,Rect) Method
The first Rect to intersect.
The second Rect to intersect.

In This Topic
    Intersect(Rect,Rect) Method
    In This Topic
    Creates a new Rect structure representing the intersection of two RectangleD structures. (The intersection may be empty, in which case Empty is returned.)
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Intersect( _
       ByVal a As Rect, _
       ByVal b As Rect _
    ) As Rect
    public static Rect Intersect( 
       Rect a,
       Rect b
    )

    Parameters

    a
    The first Rect to intersect.
    b
    The second Rect to intersect.

    Return Value

    The newly created Rect structure.
    See Also