--pdf-landscape
- CLI
- --pdf-landscape
- REST
- pdf_landscape
Lays the PDF page out in landscape. A page that sets a CSS @page size keeps its orientation.
Example
zshot -f page.pdf \
--pdf-landscape \
https://zshot-cli.com/example_assets/hello_zshot/{
"url": "https://zshot-cli.com/example_assets/hello_zshot/",
"output_type": "pdf",
"pdf_landscape": true
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/hello_zshot/","output_type":"pdf","pdf_landscape":true}' \
-o page.pdf