# VerticalAlignment

> How text is vertically aligned within its layout area.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.TextCore](/engine/6000.7/script-reference/unityengine/textcore.md)
* **Assembly:** UnityEngine.TextCoreTextEngineModule

```csharp
public enum VerticalAlignment
```

## Fields

| Value                                                                                      | Description                                         |
| ------------------------------------------------------------------------------------------ | --------------------------------------------------- |
| [Bottom](/engine/6000.7/script-reference/unityengine/textcore/verticalalignment/bottom.md) | Text is aligned to the bottom of the layout area.   |
| [Middle](/engine/6000.7/script-reference/unityengine/textcore/verticalalignment/middle.md) | Text is centered vertically within the layout area. |
| [Top](/engine/6000.7/script-reference/unityengine/textcore/verticalalignment/top.md)       | Text is aligned to the top of the layout area.      |
