Merge pull request #8365 from destan/patch-3
printToPDF: `landscape` ignored if `@page` is used
This commit is contained in:
commit
ade16a7823
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…
Reference in a new issue