Skip to main content

Home > @jsplumbtoolkit/browser-ui > PrintHandler

PrintHandler class

Signature:

export declare class PrintHandler 

Constructors

ConstructorModifiersDescription
(constructor)(surface, id)Constructs a new instance of the PrintHandler class

Properties

PropertyModifiersTypeDescription
idstring
surfaceSurface

Methods

MethodModifiersDescription
isReadyToPrint()
scaleToBounds(wh, margins)
scaleToFullPage(margins, units)
scaleToPageDimensions(dimensions, margins, units)
scaleToPageSize(size, margins, units)