## width_cm属性

表示形状的宽度，以厘米为单位。

### 例子

```python

if shape.width_cm == 3:
    shape.width_cm = 1.0

```
### 定义：
```python
@property
def width_cm(self):
    ...
@width_cm.setter
def width_cm(self, value):
    ...
```

### 也可以看看
* 模块[`aspose.cells.drawing`](../../)
* 类 [`RectangleShape`](/cells/python-net/zh/aspose.cells.drawing/rectangleshape)
