## Shape::GetWidth method


Represents the width of shape, in unit of pixels.

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


## Examples


```cpp
if (shape.GetWidth() == 3)
    shape.SetWidth(1);
```

## See Also

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