@univerjs/sheets-drawing
이 API 페이지의 본문은 현재 영어로 제공됩니다. 코드 시그니처와 식별자는 언어에 따라 바뀌지 않습니다.
Drawing model integration for Univer Sheets.
TypeScript
import { UniverSheetsDrawingPlugin } from '@univerjs/sheets-drawing'univer.registerPlugin(UniverSheetsDrawingPlugin, {})Entry Points
- Facade:
@univerjs/sheets-drawing/facade
Worksheet background images
The Facade adds FWorksheet.getBackgroundImage(), setBackgroundImage(source, imageSourceType?), and deleteBackgroundImage(). The source type defaults to ImageSourceType.URL. Updates use commands and support undo/redo.
IWorksheetData.backgroundImage stores one tiled image independently of floating images. Add @univerjs/sheets-drawing-ui for rendering and upload controls. Backgrounds are excluded from printing. See the background image guide.
IUniverSheetsDrawingConfig
TypeScript
export interface IUniverSheetsDrawingConfig {}이 가이드는 어떠셨나요?