Ribbon for WinForms | ComponentOne
C1.Win.Interop Namespace / Rect Structure / Union Method
The first Rect to combine.
The second Rect to combine.

In This Topic
    Union Method (Rect)
    In This Topic
    Creates a new Rect structure representing the smallest possible rectangle containing the two specified rectangles.
    Syntax
    'Declaration
     
    
    Public Shared Function Union( _
       ByVal a As Rect, _
       ByVal b As Rect _
    ) As Rect
    public static Rect Union( 
       Rect a,
       Rect b
    )

    Parameters

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

    Return Value

    The newly created Rect structure.
    See Also