printToPDF: landscape
ignored if @page
is used
This is very frustrating to find out via debugging, I think it should be in docs.
This commit is contained in:
parent
0a7dccbad8
commit
fb35f06114
1 changed files with 2 additions and 0 deletions
|
@ -896,6 +896,8 @@ settings.
|
||||||
The `callback` will be called with `callback(error, data)` on completion. The
|
The `callback` will be called with `callback(error, data)` on completion. The
|
||||||
`data` is a `Buffer` that contains the generated PDF data.
|
`data` is a `Buffer` that contains the generated PDF data.
|
||||||
|
|
||||||
|
The `landscape` will be ignored if `@page` CSS at-rule is used in the web page.
|
||||||
|
|
||||||
By default, an empty `options` will be regarded as:
|
By default, an empty `options` will be regarded as:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue