API 参考

VerticalAlign

本 API 页面目前提供英文正文。代码签名与标识符不随界面语言变化。

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

你觉得这篇文档如何?

© 2026 DreamNum Co., Ltd.