Spread Windows Forms 14.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / Rect Structure / Union Method
A rectangle to union.
A rectangle to union.

In This Topic
    Union Method (Rect)
    In This Topic
    Gets a Rect structure that contains the union of two Rect structures.
    Public Shared Function Union( _
       ByVal r1 As Rect, _
       ByVal r2 As Rect _
    ) As Rect
    Dim r1 As Rect
    Dim r2 As Rect
    Dim value As Rect
    value = Rect.Union(r1, r2)
    public static Rect Union( 
       Rect r1,
       Rect r2


    A rectangle to union.
    A rectangle to union.

    Return Value

    A Rect structure that bounds the union of the two Rect structures.
    See Also