TextHorizontalAlignment
Shape.TextHorizontalAlignment property
获取和设置形状的文本水平对齐类型。
public TextAlignmentType TextHorizontalAlignment { get; set; }
例子
[C#]
if (shape.TextHorizontalAlignment == Aspose.Cells.TextAlignmentType.Bottom)
shape.TextHorizontalAlignment = Aspose.Cells.TextAlignmentType.Center;
也可以看看
- enum TextAlignmentType
- class Shape
- 命名空间 Aspose.Cells.Drawing
- 部件 Aspose.Cells