RectangleUnion Method

Gets a Rectangle structure that contains the union of two Rectangle structures.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public static Rectangle Union(
	Rectangle a,
	Rectangle b
)

Parameters

a
Type: System.DrawingRectangle
A rectangle to union.
b
Type: System.DrawingRectangle
A rectangle to union.

Return Value

Type: Rectangle
A Rectangle structure that bounds the union of the two Rectangle structures.
See Also