---
title: "SizeF.Subtract"
url: "https://reference.aspose.com/drawing/net/aspose.drawing/sizef/subtract/"
product: "Aspose.Drawing for .NET API Reference"
description: "SizeF method. Subtracts the width and height of one SizeF structure from the width and height of another SizeF structure"
---

## SizeF.Subtract method

Subtracts the width and height of one SizeF structure from the width and height of another SizeF structure.

```csharp
public static SizeF Subtract(SizeF sz1, SizeF sz2)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sz1 | SizeF | The SizeF structure on the left side of the subtraction operator. |
| sz2 | SizeF | The SizeF structure on the right side of the subtraction operator. |

### Return Value

A SizeF structure that is a result of the subtraction operation.

### See Also

* struct [SizeF](../)
* namespace [Aspose.Drawing](../../sizef/)
* assembly [Aspose.Drawing.Common](../../../)


