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.