# Core.PageDocument

## Content

# Class: PageDocument

[Core](../modules/Core).PageDocument

Represents rendered report.

## Table of contents

### Properties

- [styles](Core.PageDocument#styles)

### Methods

- [print](Core.PageDocument#print)

## Properties

### <a id="styles" name="styles"></a> styles

• `Readonly` **styles**: `StaticStyle`[]

## Methods

### <a id="print" name="print"></a> print

▸ **print**(`renderOptions?`, `onProgress?`, `checkCancel?`): `Promise`<`void`\>

Displays the browser's printing dialog.

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `renderOptions?` | [`RenderOptions`](../modules/Core#renderoptions) | Specifies the rendering options. |
| `onProgress?` | (`pageCount`: `number`) => `void` | Callback for printing progress notifications. |
| `checkCancel?` | () => `boolean` | Allows to cancel report printing. |

#### Returns

`Promise`<`void`\>
