API 참조

HorizontalAlign

이 API 페이지의 본문은 현재 영어로 제공됩니다. 코드 시그니처와 식별자는 언어에 따라 바뀌지 않습니다.

Horizontal alignment for cell and text styles. Use these values with IStyleData.ht.

Import

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

Definition

TypeScript
enum HorizontalAlign {  UNSPECIFIED = 0, // The horizontal alignment is not specified. Do not use this.  LEFT = 1, // The text is explicitly aligned to the left of the cell.  CENTER = 2, // text is explicitly aligned to the center of the cell.  RIGHT = 3, // The text is explicitly aligned to the right of the cell.  JUSTIFIED = 4, // The paragraph is justified.  BOTH = 5, // The paragraph is justified.  DISTRIBUTED = 6,}

Package: @univerjs/core · Type definitions

이 가이드는 어떠셨나요?

© 2026 DreamNum Co., Ltd.