[]
        
(Showing Draft Content)

Core.PageDocument

Class: PageDocument

Core.PageDocument

Represents a rendered report document.

example

const document = {} as PageDocument;

Table of contents

Methods

Methods

print

print(renderOptions?, onProgress?, checkCancel?): Promise<void>

Displays the browser's print dialog for the rendered document.

example

const document = {} as PageDocument;
await document.print();

Parameters

Name Type Description
renderOptions? RenderOptions The rendering options to use.
onProgress? (pageCount: number) => void The callback invoked with the current page count.
checkCancel? () => boolean The callback that indicates whether to cancel printing.

Returns

Promise<void>

A promise that resolves when the print operation completes.