Blazor | ComponentOne
C1.Blazor.Core Assembly / C1.Blazor.Core Namespace / C1Rect Structure / Union Method / Union(C1Rect,C1Rect) Method
The first rectangle.
The second rectangle.

In This Topic
    Union(C1Rect,C1Rect) Method
    In This Topic
    Returns a new rectangle exactly enough to contain the specified rectangles.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Union( _
       ByVal rect1 As C1Rect, _
       ByVal rect2 As C1Rect _
    ) As C1Rect
    public static C1Rect Union( 
       C1Rect rect1,
       C1Rect rect2
    )

    Parameters

    rect1
    The first rectangle.
    rect2
    The second rectangle.
    See Also