## Shape::SetWidth method


Represents the width of shape, in unit of pixels.

```cpp
void Aspose::Cells::Drawing::Shape::SetWidth(int32_t value)
```


## 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++](../../../)
