## SizeF::Subtract method


Returns a new [SizeF](../) object that is the results of subctraction of **size2** from **size1**, i.e. whose width value is the result of subtraction of **size2's** width value from **size1's** width value and height value is the result of subtraction of **size2's** height value from **size1's** height value.

```cpp
static SizeF System::Drawing::SizeF::Subtract(const SizeF &size1, const SizeF &size2)
```


| Parameter | Type | Description |
| --- | --- | --- |
| size1 | const SizeF\& | The [SizeF](../) object to subtract from |
| size2 | const SizeF\& | The [SizeF](../) object to subtract |

### ReturnValue

The [SizeF](../) object which is the result of subtraction of **size2** from **size1**

## See Also

* Class [SizeF](../)
* Class [SizeF](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
