TextVerticalAlignment

Shape.TextVerticalAlignment property

获取和设置形状的文本垂直对齐类型。

public TextAlignmentType TextVerticalAlignment { get; set; }

例子


[C#]
if (shape.TextVerticalAlignment == Aspose.Cells.TextAlignmentType.Bottom)
    shape.TextVerticalAlignment = Aspose.Cells.TextAlignmentType.Center;

也可以看看