Type alias Margins

Margins: {
    bottom?: number;
    left?: number;
    marginType?: "default" | "none" | "printableArea" | "custom";
    right?: number;
    top?: number;
}

Margins configuration for printing.

Type declaration

  • Optional bottom?: number

    The bottom margin of the printed webpage, in pixels.

  • Optional left?: number

    The left margin of the printed webpage, in pixels.

  • Optional marginType?: "default" | "none" | "printableArea" | "custom"
  • Optional right?: number

    The right margin of the printed webpage, in pixels.

  • Optional top?: number

    The top margin of the printed webpage, in pixels.

Generated using TypeDoc