Home > @jsplumbtoolkit/print > PrintHandler
PrintHandler class
Signature:
export declare class PrintHandler
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(surface, id) | Constructs a new instance of the PrintHandler class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| id | string | ||
| surface | Surface |
Methods
| Method | Modifiers | Description |
|---|---|---|
| isReadyToPrint() | ||
| scaleToBounds(wh, margins) | ||
| scaleToFullPage(margins, units) | ||
| scaleToPageDimensions(dimensions, margins, units) | ||
| scaleToPageSize(size, margins, units) |