@univerjs-prosheets-printindexclassesSheetprintclientservice

@univerjs-pro/sheets-print v0.5.0-beta.1Docs


Class: SheetPrintClientService

Constructors

new SheetPrintClientService()

new SheetPrintClientService(
   _injector, 
   _globalZoneService, 
   _sheetPrintManagerService, 
   _renderManagerService): SheetPrintClientService

Parameters

ParameterType
_injectorInjector
_globalZoneServiceIGlobalZoneService
_sheetPrintManagerServiceISheetPrintManagerService
_renderManagerServiceIRenderManagerService

Returns

SheetPrintClientService

Defined in

packages/sheets-print/src/services/sheet-print.service.ts:18

Methods

getRangeImage()

getRangeImage(
   unitId, 
   subUnitId, 
   range): string | false

Parameters

ParameterType
unitIdstring
subUnitIdstring
rangeIRange

Returns

string | false

Defined in

packages/sheets-print/src/services/sheet-print.service.ts:81


print()

print(configs, renderConfig): Promise<boolean>

Parameters

ParameterType
configsISheetPrintLayoutInfo[]
renderConfigISheetPrintRenderConfig

Returns

Promise<boolean>

Defined in

packages/sheets-print/src/services/sheet-print.service.ts:25