TextHorizontalAlignment
Comment.TextHorizontalAlignment property
获取和设置评论的文本水平对齐方式。
public TextAlignmentType TextHorizontalAlignment { get; set; }
例子
[C#]
if (comment1.TextHorizontalAlignment == TextAlignmentType.Fill)
{
comment1.TextHorizontalAlignment = TextAlignmentType.Center;
}
也可以看看
- enum TextAlignmentType
- class Comment
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells