Aspose::Cells::Comment::GetTextHorizontalAlignment method

Comment::GetTextHorizontalAlignment method

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

TextAlignmentType Aspose::Cells::Comment::GetTextHorizontalAlignment()

Examples

if (comment1.GetTextHorizontalAlignment() == TextAlignmentType::Fill)
{
    comment1.SetTextHorizontalAlignment(TextAlignmentType::Center);
}

See Also