Skip to content

ElectronMargins

Unofficial

The margins of a printed web page.

Import:

import type { ElectronMargins } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronMargins

Properties

PropertyTypeDescription
bottom?numberThe bottom margin of the printed web page, in pixels.
left?numberThe left margin of the printed web page, in pixels.
marginType?'custom' | 'default' | 'none' | 'printableArea'The margin type. If custom is chosen, top, bottom, left, and right must also be specified.
right?numberThe right margin of the printed web page, in pixels.
top?numberThe top margin of the printed web page, in pixels.

Links to this page: