## Comment::GetTextOrientationType method


Gets and sets the text orientation type of the comment.

```cpp
TextOrientationType Aspose::Cells::Comment::GetTextOrientationType()
```


## Examples


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

## See Also

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