# VerticalAlign

- Human documentation: [https://docs.univer.ai/reference/enums/vertical-align](https://docs.univer.ai/reference/enums/vertical-align)

- Agent Markdown: [https://docs.univer.ai/reference/enums/vertical-align.md](https://docs.univer.ai/reference/enums/vertical-align.md)

- Requested language: `en-US`

- Content language: `en-US`

- Documentation version: `1.0.0-rc.0`

- Source: [enums/vertical-align.mdx](https://github.com/dream-num/documentation/blob/dev/content/reference/enums/vertical-align.mdx)

---

Vertical alignment for cell and text styles. Use these values with `IStyleData.vt`.

## Import

```ts
import { VerticalAlign } from '@univerjs/core'
```

## Definition

```ts
enum VerticalAlign {
  UNSPECIFIED = 0,
  TOP = 1, // The text is explicitly aligned to the top of the cell.
  MIDDLE = 2, // The text is explicitly aligned to the middle of the cell.
  BOTTOM = 3,
}
```

**Package:** [`@univerjs/core`](https://docs.univer.ai/reference/packages/plugins/univerjs/core.md) · [Type definitions](https://unpkg.com/@univerjs/core@1.0.0-rc.0/lib/types/types/enum/text-style.d.ts)
