## ScaleTransform(float, float) {#scaletransform}

对这个的变换矩阵应用指定的缩放操作Graphics通过将 it 添加到对象的变换矩阵.

```csharp
public void ScaleTransform(float sx, float sy)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| sx | Single | x 方向的比例因子。 |
| sy | Single | y 方向的比例因子。 |

### 也可以看看

* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

## ScaleTransform(float, float, MatrixOrder) {#scaletransform_1}

对这个的变换矩阵应用指定的缩放操作Graphics按指定顺序。

```csharp
public void ScaleTransform(float sx, float sy, MatrixOrder order)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| sx | Single | x 方向的比例因子。 |
| sy | Single | y 方向的比例因子。 |
| order | MatrixOrder | 成员MatrixOrder枚举，它指定缩放 operation 是预先添加还是附加到变换矩阵。 |

### 也可以看看

* enum [MatrixOrder](../../../system.drawing.drawing2d/matrixorder)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Drawing.dll -->
