margin Object

Specifies the margins of the page (numbers or strings with units). Supported units are "mm", "cm", "in" and "pt" (default).

margin.bottom Number|String (default: 0)The bottom margin. Numbers are considered as "pt" units.

margin.left Number|String (default: 0)The left margin. Numbers are considered as "pt" units.

margin.right Number|String (default: 0)The right margin. Numbers are considered as "pt" units.

margin.top Number|String (default: 0)The top margin. Numbers are considered as "pt" units.

In this article