---
title: "Matrix..::.Scale Method (Single, Single, MatrixOrder)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Transforms_Matrix_Scale_3_2421af4d.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Matrix.Scale Method (Single, Single, MatrixOrder)
 
Applies a scale affine transform to the matrix.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub Scale ( _scaleX As Single, _scaleY As Single, _order As MatrixOrder _
)
```
 
```csharp
public void Scale(float scaleX,float scaleY,MatrixOrder order
)
```
 
### Parameters
 
 - scaleX
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The value to scale the matrix horizontally.

 - scaleY
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The value to scale the matrix vertically.

 - order
     - Type: [System.Drawing.Drawing2D.MatrixOrder](http://msdn2.microsoft.com/en-us/aw34t360)
The order of the matrices in the multiplication operation.
   
## See Also

### Reference

- [Matrix Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md)
- [Scale Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_Matrix_Scale.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
