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