## Comment::SetWidthCM method


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

```cpp
void Aspose::Cells::Comment::SetWidthCM(double value)
```


## Examples


```cpp
if (comment1.GetWidthCM() == 1.0)
{
    comment1.SetWidthCM(2.0);
}
```

## See Also

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