Aspose::Cells::Comment::GetTextVerticalAlignment method

Comment::GetTextVerticalAlignment method

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

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

Examples

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

See Also