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
|
||||
`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:
|
||||
|
||||
```javascript
|
||||
|
|
Loading…
Reference in a new issue