Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / Rectangle Structure / Intersect Method


In This Topic
    Intersect Method (Rectangle)
    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 Rectangle, _
       ByVal b As Rectangle _
    ) As Rectangle
    'Usage
     
    
    Dim a As Rectangle
    Dim b As Rectangle
    Dim value As Rectangle
     
    value = Rectangle.Intersect(a, b)
    public static Rectangle Intersect( 
       Rectangle a,
       Rectangle b
    )

    Parameters

    a
    b
    See Also