# Margins

**Kind**: interface | **Module**: [Windows](https://docs.interop.io/desktop/reference/javascript/windows/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/windows/margins/index.html

Margins for the printed web page.

## Properties

- **`bottom`** (`number`, optional)
  Bottom margin for the printed web page in pixels.
- **`left`** (`number`, optional)
  Left margin for the printed web page in pixels.
- **`marginType`** (`"default" | "none" | "printableArea" | "custom"`, optional)
  Margin type. If `"custom"` is chosen, `top`, `bottom`, `left` and `right` must also be specified.
- **`right`** (`number`, optional)
  Right margin for the printed web page in pixels.
- **`top`** (`number`, optional)
  Top margin for the printed web page in pixels.
