[]
        
(Showing Draft Content)

C1.Win.Interop.Rect.Union

Union Method

Union(Rect, Rect)

Creates a new Rect structure representing the smallest possible rectangle containing the two specified rectangles.

Declaration
public static Rect Union(Rect a, Rect b)
Parameters
Type Name Description
Rect a

The first Rect to combine.

Rect b

The second Rect to combine.

Returns
Type Description
Rect

The newly created Rect structure.