## Rectangle.Union method

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

```csharp
public static Rectangle Union(Rectangle a, Rectangle b)
```

| Parameter | Type | Description |
| --- | --- | --- |
| a | Rectangle | A first rectangle to union. |
| b | Rectangle | A second rectangle to union. |

### Return Value

A Rectangle structure that bounds the union of the two [`Rectangle`](../) structures.

### See Also

* struct [Rectangle](../)
* namespace [Aspose.Drawing](../../rectangle/)
* assembly [Aspose.Drawing.Common](../../../)


