Merge pull request #8365 from destan/patch-3

printToPDF: `landscape` ignored if `@page` is used
This commit is contained in:
Zeke Sikelianos
2017-01-17 13:50:37 -08:00
committed by GitHub

View File

@@ -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