Margins Type
Constructors
| Constructor |
Description
|
Full Usage:
Margins(?marginType, ?top, ?bottom, ?left, ?right)
Parameters:
MarginType
-
Can be default, none, printableArea, or custom. If custom is chosen, you will also need to specify top, bottom,
left, and right.
?top : float
-
The top margin of the printed web page, in pixels.
?bottom : float
-
The bottom margin of the printed web page, in pixels.
?left : float
-
The left margin of the printed web page, in pixels.
?right : float
-
The right margin of the printed web page, in pixels.
Returns: Margins
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.bottom
|
The bottom margin of the printed web page, in pixels. |
Full Usage:
this.left
|
The left margin of the printed web page, in pixels. |
Full Usage:
this.marginType
|
Can be default, none, printableArea, or custom. If custom is chosen, you will also need to specify top, bottom, left, and right. |
Full Usage:
this.right
|
The right margin of the printed web page, in pixels. |
Full Usage:
this.top
|
The top margin of the printed web page, in pixels. |
fable-electron-docs-api