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
- Class Vector
- Enum TextAlignmentType
- Class Comment
- Namespace Aspose::Cells
- Library Aspose.Cells for C++