@univerjs-pro/sheets-print v0.5.0-beta.1 • Docs
Class: SheetPrintClientService
Constructors
new SheetPrintClientService()
new SheetPrintClientService(
_injector,
_globalZoneService,
_sheetPrintManagerService,
_renderManagerService): SheetPrintClientService
Parameters
Parameter | Type |
---|---|
_injector | Injector |
_globalZoneService | IGlobalZoneService |
_sheetPrintManagerService | ISheetPrintManagerService |
_renderManagerService | IRenderManagerService |
Returns
Defined in
packages/sheets-print/src/services/sheet-print.service.ts:18
Methods
getRangeImage()
getRangeImage(
unitId,
subUnitId,
range): string | false
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
range | IRange |
Returns
string
| false
Defined in
packages/sheets-print/src/services/sheet-print.service.ts:81
print()
print(configs, renderConfig): Promise<boolean>
Parameters
Parameter | Type |
---|---|
configs | ISheetPrintLayoutInfo [] |
renderConfig | ISheetPrintRenderConfig |
Returns
Promise
<boolean
>
Defined in
packages/sheets-print/src/services/sheet-print.service.ts:25