@univerjs-prosheets-printindexclassesSheetprintclientservice

@univerjs-pro/sheets-print v0.5.4


Class: SheetPrintClientService

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

Constructors

new SheetPrintClientService()

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

Defined in: packages/sheets-print/src/services/sheet-print.service.ts:19

Parameters

ParameterType
_injectorInjector
_globalZoneServiceIGlobalZoneService
_sheetPrintManagerServiceISheetPrintManagerService
_renderManagerServiceIRenderManagerService

Returns

SheetPrintClientService

Methods

getRangeImage()

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

Defined in: packages/sheets-print/src/services/sheet-print.service.ts:77

Parameters

ParameterType
unitIdstring
subUnitIdstring
rangeIRange

Returns

string | false


print()

print(configs, renderConfig): Promise<boolean>

Defined in: packages/sheets-print/src/services/sheet-print.service.ts:26

Parameters

ParameterType
configsISheetPrintLayoutInfo[]
renderConfigISheetPrintRenderConfig

Returns

Promise<boolean>