## Comment::GetTextVerticalAlignment method


Gets and sets the text vertical alignment type of the comment.

```cpp
TextAlignmentType Aspose::Cells::Comment::GetTextVerticalAlignment()
```


## Examples


```cpp
if (comment1.GetTextVerticalAlignment() == TextAlignmentType::Fill)
{
    comment1.SetTextVerticalAlignment(TextAlignmentType::Center);
}
```

## See Also

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