@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 {}你觉得这篇文档如何?