ElectronMargins
Unofficial
The margins of a printed web page.
Import:
import type { ElectronMargins } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface ElectronMarginsProperties
| Property | Type | Description | |
|---|---|---|---|
| bottom? | number | The bottom margin of the printed web page, in pixels. | |
| left? | number | The 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? | number | The right margin of the printed web page, in pixels. | |
| top? | number | The top margin of the printed web page, in pixels. |
Links to this page: