{{< psd/tize >}}
## RectangleF.Union method

Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.

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

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

### Return Value

A third [`RectangleF`](../) structure that contains both of the two rectangles that form the union.

### See Also

* struct [RectangleF](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)


