## Shape.TextVerticalAlignment property

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

```csharp
public TextAlignmentType TextVerticalAlignment { get; set; }
```

### 例子

```csharp

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

### 也可以看看

* enum [TextAlignmentType](../../../aspose.cells/textalignmenttype)
* class [Shape](../../shape)
* 命名空间 [Aspose.Cells.Drawing](../../shape)
* 部件 [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
