## Comment.TextVerticalAlignment property

获取和设置评论的文本垂直对齐类型。

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

### 例子

```csharp

[C#]
if (comment1.TextVerticalAlignment ==  TextAlignmentType.Fill)
{
    comment1.TextVerticalAlignment = TextAlignmentType.Center;
}
```

### 也可以看看

* enum [TextAlignmentType](../../textalignmenttype)
* class [Comment](../../comment)
* 命名空间 [Aspose.Cells](../../comment)
* 部件 [Aspose.Cells](../../../)

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