Aspose::Cells::Comment::SetTextVerticalAlignment method

Comment::SetTextVerticalAlignment method

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

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

Examples

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

See Also