@univerjs-pro/sheets-print v0.5.1Docs


Interface: IFWorkbookSheetsPrintMixin

Methods

closePrintDialog()

closePrintDialog(): void

close print dialog

Returns

void

Defined in

packages/sheets-print/src/facade/f-workbook.ts:29


openPrintDialog()

openPrintDialog(): void

open print dialog

Returns

void

Defined in

packages/sheets-print/src/facade/f-workbook.ts:25


print()

print(): void

using current print config and render config to print

Returns

void

Defined in

packages/sheets-print/src/facade/f-workbook.ts:21


saveScreenshotToClipboard()

saveScreenshotToClipboard(): Promise<boolean>

save screenshot of current range to clipboard

Returns

Promise<boolean>

Defined in

packages/sheets-print/src/facade/f-workbook.ts:33


updatePrintConfig()

updatePrintConfig(config): void

update print config, include print area, page-setting, scale, freeze, margin, and etc.

Parameters

ParameterType
configISheetPrintLayoutConfig

Returns

void

Defined in

packages/sheets-print/src/facade/f-workbook.ts:11


updatePrintRenderConfig()

updatePrintRenderConfig(config): void

update print render config, include print header-footer setting, alignment, gridline, and etc.

Parameters

ParameterType
configISheetPrintRenderConfig

Returns

void

Defined in

packages/sheets-print/src/facade/f-workbook.ts:16