## Comment.TextVerticalAlignment property

Obtient et définit le type d'alignement vertical du texte du commentaire.

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

### Exemples

```csharp

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

### Voir également

* enum [TextAlignmentType](../../textalignmenttype)
* class [Comment](../../comment)
* espace de noms [Aspose.Cells](../../comment)
* Assemblée [Aspose.Cells](../../../)

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