IExportingPrintOptions

Type interface

Inheritance

IExportingPrintOptions extends IExportingImageOptions.

IExportingPrintOptions is not extended by any other symbol.

Properties

delay
#

Type undefined | number

Default 500

A delay in milliseconds to wait before initiating print.

This delay is necessary to ensure DOM is prepared and repainted before print dialog kicks in.

disabled
#

Type undefined | false | true

Inherited from IExportingFormatOptions

If set to true, this format will not appear in ExportMenu.

imageFormat
#

Type "png" | "jpg"

Default "png"

Image format to use for printing.

maintainPixelRatio
#

Type undefined | false | true

Default false

Inherited from IExportingImageOptions

Export images with hardware resolution (false), or the way they appear on screen (true).

Click here for more info

maxHeight
#

Type undefined | number

Inherited from IExportingImageOptions

Maximal height of exported image, in pixels.

Click here for more info

maxWidth
#

Type undefined | number

Inherited from IExportingImageOptions

Maximal width of exported image, in pixels.

Click here for more info

minHeight
#

Type undefined | number

Inherited from IExportingImageOptions

Minimal height of exported image, in pixels.

Click here for more info

minWidth
#

Type undefined | number

Inherited from IExportingImageOptions

Minimal width of exported image, in pixels.

Click here for more info

printMethod
#

Type "css" | "iframe"

Default "iframe"

Method to use for printing.

If one fails for your particular setup, try the other.

"css" - inserts dynamic CSS that hides everything, except the image being printed.

"iframe" - creates a dynamic <iframe> with the image, then prints it.

quality
#

Type undefined | number

Inherited from IExportingImageOptions

Quality of the exported image: 0 to 1.

There are 7 inherited items currently hidden from this list.