зеркало из https://github.com/electron/electron.git
Merge pull request #3815 from bjrmatos/master
Add A5 Page Size to printToPDF
This commit is contained in:
Коммит
02e0c169a2
|
@ -7,6 +7,11 @@ nextId = 0
|
|||
getNextId = -> ++nextId
|
||||
|
||||
PDFPageSize =
|
||||
A5:
|
||||
custom_display_name: "A5"
|
||||
height_microns: 210000
|
||||
name: "ISO_A5"
|
||||
width_microns: 148000
|
||||
A4:
|
||||
custom_display_name: "A4"
|
||||
height_microns: 297000
|
||||
|
|
|
@ -454,6 +454,7 @@ size.
|
|||
* 1 - none
|
||||
* 2 - minimum
|
||||
* `pageSize` String - Specify page size of the generated PDF.
|
||||
* `A5`
|
||||
* `A4`
|
||||
* `A3`
|
||||
* `Legal`
|
||||
|
|
Загрузка…
Ссылка в новой задаче