## Shape::GetWidthScale method


Gets and sets the width scale, in unit of percent of the original picture width. If the shape is not picture ,the WidthScale property only returns 100;.

```cpp
int32_t Aspose::Cells::Drawing::Shape::GetWidthScale()
```


## Examples


```cpp
if (shape.GetWidthScale() == 3)
    shape.SetWidthScale(1);
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [Shape](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
