API 參考

UniverInstanceType

此 API 頁面目前提供英文內容。程式碼簽名與識別符不隨介面語言變更。

Unit types used by univer.createUnit() and instance APIs. The Facade provides product-specific creation methods such as createWorkbook() and createDocument().

Import

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

Definition

TypeScript
enum UniverInstanceType {  UNIVER_UNKNOWN = 0,  UNIVER_DOC = 1,  UNIVER_SHEET = 2,  UNIVER_SLIDE = 3,  UNIVER_PROJECT = 4,  UNIVER_BASE = 5,  UNIVER_BOARD = 6,  UNIVER_PDF = 7,  UNRECOGNIZED = -1,}

Package: @univerjs/core · Type definitions

你覺得這篇文檔如何?

© 2026 DreamNum Co., Ltd.