## Comment::GetWidth method


Represents the width of the comment, in unit of pixels.

```cpp
int32_t Aspose::Cells::Comment::GetWidth()
```


## Examples


```cpp
if (comment1.GetWidth() == 10)
{
    comment1.SetWidth(20);
}
```

## See Also

* Class [Vector](../../vector/)
* Class [Comment](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
