## Comment::SetTextVerticalAlignment method


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

```cpp
void Aspose::Cells::Comment::SetTextVerticalAlignment(TextAlignmentType value)
```


## Examples


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

## See Also

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