--pdf-width
- CLI
- --pdf-width
- REST
- pdf_width
Sets the PDF page width in inches.
Example
zshot -f page.pdf \
--pdf-width 5.5 \
--pdf-height 8.5 \
https://zshot-cli.com/example_assets/hello_zshot/{
"url": "https://zshot-cli.com/example_assets/hello_zshot/",
"output_type": "pdf",
"pdf_width": 5.5,
"pdf_height": 8.5
}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_width":5.5,"pdf_height":8.5}' \
-o page.pdf