Gets a
Rectangle structure that contains the union of two
Rectangle structures.
'Declaration
Public Shared Function Union( _
ByVal As Rect, _
ByVal As Rect _
) As Rect
'Usage
Dim r1 As Rect
Dim r2 As Rect
Dim value As Rect
value = Rect.Union(r1, r2)
public static Rect Union(
Rect ,
Rect
)
Parameters
- r1
- A rectangle to union.
- r2
- A rectangle to union.
Return Value
A
Rectangle structure that bounds the union of the two
Rectangle structures.