Comment.TextHorizontalAlignment
Comment.TextHorizontalAlignment property
Gets and sets the text horizontal alignment type of the comment.
public TextAlignmentType TextHorizontalAlignment { get; set; }
Examples
[C#]
if (comment1.TextHorizontalAlignment == TextAlignmentType.Fill)
{
comment1.TextHorizontalAlignment = TextAlignmentType.Center;
}
See Also
- enum TextAlignmentType
- class Comment
- namespace Aspose.Cells
- assembly Aspose.Cells