## Scale(*float, float, [WebMatrixOrder](../../webmatrixorder/)*) {#scale_1}

Scales the matrix by the specified scale factors in the specified order.

```csharp
public void Scale(float scaleX, float scaleY, WebMatrixOrder order)
```

| Parameter | Type | Description |
| --- | --- | --- |
| scaleX | Single | The scale factor along the x-axis. |
| scaleY | Single | The scale factor along the y-axis. |
| order | WebMatrixOrder | The order in which scaling is applied. |

### See Also

* enum [WebMatrixOrder](../../webmatrixorder/)
* interface [IMatrix](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)

---

## Scale(*float, float*) {#scale}

Scales the matrix by the specified scale factors uniformly.

```csharp
public void Scale(float scaleX, float scaleY)
```

| Parameter | Type | Description |
| --- | --- | --- |
| scaleX | Single | The uniform scale factor. |
| scaleY | Single | The uniform scale factor. |

### See Also

* interface [IMatrix](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)
