In This Topic
Gets a
Rect structure that contains the union of two
Rect structures.
Syntax
'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
Rect structure that bounds the union of the two
Rect structures.
See Also