WrapStrategy
이 API 페이지의 본문은 현재 영어로 제공됩니다. 코드 시그니처와 식별자는 언어에 따라 바뀌지 않습니다.
How cell text behaves when it exceeds the available width. Use these values with FRange.setWrapStrategy.
Import
TypeScript
import { WrapStrategy } from '@univerjs/core'Definition
TypeScript
enum WrapStrategy { UNSPECIFIED = 0, OVERFLOW = 1, CLIP = 2, WRAP = 3,}Values
OVERFLOW— Lines that are longer than the cell width will be written in the next cell over, so long as that cell is empty. If the next cell over is non-empty, this behaves the same as CLIP . The text will never wrap to the next line unless the user manually inserts a new line.CLIP— Lines that are longer than the cell width will be clipped. The text will never wrap to the next line unless the user manually inserts a new line.WRAP— Words that are longer than a line are wrapped at the character level rather than clipped.
Package: @univerjs/core · Type definitions
이 가이드는 어떠셨나요?