## Scale(float, float) {#scale}

Applies the specified scale vector to this Matrix by prepending the scale vector.

```csharp
public void Scale(float scaleX, float scaleY)
```

| Parameter | Type | Description |
| --- | --- | --- |
| scaleX | Single | The value by which to scale this Matrix in the x-axis direction. |
| scaleY | Single | The value by which to scale this Matrix in the y-axis direction. |

### See Also

* class [Matrix](../)
* namespace [System.Drawing.Drawing2D](../../matrix/)
* assembly [Aspose.Drawing](../../../)

---

## Scale(float, float, MatrixOrder) {#scale_1}

Applies the specified scale vector (scaleX and scaleY) to this Matrix using the specified order.

```csharp
public void Scale(float scaleX, float scaleY, MatrixOrder order)
```

| Parameter | Type | Description |
| --- | --- | --- |
| scaleX | Single | The value by which to scale this Matrix in the x-axis direction. |
| scaleY | Single | The value by which to scale this Matrix in the y-axis direction. |
| order | MatrixOrder | A MatrixOrder that specifies the order (append or prepend) in which the scale vector is applied to this Matrix. |

### See Also

* enum [MatrixOrder](../../matrixorder/)
* class [Matrix](../)
* namespace [System.Drawing.Drawing2D](../../matrix/)
* assembly [Aspose.Drawing](../../../)


