---
title: "PointF.op_Subtraction"
url: "https://reference.aspose.com/drawing/net/aspose.drawing/pointf/op_subtraction/"
product: "Aspose.Drawing for .NET API Reference"
description: "PointF method. Translates a PointF by the negative of a given Size"
---

## operator - {#op_subtraction}

Translates a [`PointF`](../) by the negative of a given [`Size`](../../size/) .

```csharp
public static PointF operator -(PointF pt, Size sz)
```

| Parameter | Type | Description |
| --- | --- | --- |
| pt | PointF | The [`PointF`](../) to add. |
| sz | Size | The [`Size`](../../size/) to add |

### Return Value

The [`PointF`](../) that is the result of the translate operation.

### See Also

* struct [Size](../../size/)
* struct [PointF](../)
* namespace [Aspose.Drawing](../../pointf/)
* assembly [Aspose.Drawing.Common](../../../)

---

## operator - {#op_subtraction_1}

Translates a [`PointF`](../) by the negative of a given [`SizeF`](../../sizef/) .

```csharp
public static PointF operator -(PointF pt, SizeF sz)
```

| Parameter | Type | Description |
| --- | --- | --- |
| pt | PointF | The [`PointF`](../) to add. |
| sz | SizeF | The [`SizeF`](../../sizef/) to add |

### Return Value

The [`PointF`](../) that is the result of the translate operation.

### See Also

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


