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