---
title: VerticalAlignment
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/textcore/verticalalignment
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/textcore/verticalalignment.md
last_updated: 2026-10-07
generated_at: 2026-11-11T05:23:47.765Z
locale: en-us
---

# VerticalAlignment

> How text is vertically aligned within its layout area.

## Definition

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

```csharp
public enum VerticalAlignment
```

## Fields

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