## Matrix::Scale(float, float) method


Applies the specified scale vector to the matrix represented by the current object.

```cpp
void System::Drawing::Drawing2D::Matrix::Scale(float scaleX, float scaleY)
```


| Parameter | Type | Description |
| --- | --- | --- |
| scaleX | float | The value by which to scale the matrix in x-axis direction |
| scaleY | float | The value by which to scale the matrix in y-axis direction |

## See Also

* Class [Matrix](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.PDF for C++](../../../)
## Matrix::Scale(float, float, MatrixOrder) method


Applies the specified scale vector to the matrix represented by the current object.

```cpp
void System::Drawing::Drawing2D::Matrix::Scale(float scaleX, float scaleY, MatrixOrder order)
```


| Parameter | Type | Description |
| --- | --- | --- |
| scaleX | float | The value by which to scale the matrix in x-axis direction |
| scaleY | float | The value by which to scale the matrix in y-axis direction |
| order | MatrixOrder | The order in which the scale vector is applied to the matrix |

## See Also

* Enum [MatrixOrder](../../matrixorder/)
* Class [Matrix](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.PDF for C++](../../../)
