API Reference

VerticalAlign

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

Import

TypeScript
import { VerticalAlign } from '@univerjs/core'

Definition

TypeScript
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 · Type definitions

How is this guide?

© 2026 DreamNum Co., Ltd.