Margins

external interface Margins(source)

Properties

Link copied to clipboard
abstract var bottom: Double?

The bottom margin of the printed web page, in pixels.

Link copied to clipboard
abstract var left: Double?

The left margin of the printed web page, in pixels.

Link copied to clipboard

Can be default, none, printableArea, or custom. If custom is chosen, you will also need to specify top, bottom, left, and right.

Link copied to clipboard
abstract var right: Double?

The right margin of the printed web page, in pixels.

Link copied to clipboard
abstract var top: Double?

The top margin of the printed web page, in pixels.