HorizontalAlign
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
How is this guide?