## Comment::SetTextOrientationType method


Gets and sets the text orientation type of the comment.

```cpp
void Aspose::Cells::Comment::SetTextOrientationType(TextOrientationType value)
```


## Examples


```cpp
if (comment1.GetTextOrientationType() == TextOrientationType::NoRotation)
{
    comment1.SetTextOrientationType(TextOrientationType::TopToBottom);
}
```

## See Also

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