## Shape.HeightScale property

获取和设置高度比例，单位是原始图片高度的百分比。 如果形状不是图片，HeightScale属性只返回100；

```csharp
public int HeightScale { get; set; }
```

### 例子

```csharp

[C#]
if (shape.HeightScale == 3)
    shape.HeightScale = 1;
```

### 也可以看看

* class [Shape](../../shape)
* 命名空间 [Aspose.Cells.Drawing](../../shape)
* 部件 [Aspose.Cells](../../../)

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