Set PDF margins

Now you can set PDF margins for the resulting PDF file.

1 min read

Written by

Dmytro Krasun

Published on

Set PDF margins

Since today, you can set PDF margins for the resulting PDF file.

https://api.screenshotone.com/take?pdf_margin=20px&access_key=<access key>&url=https://example.com&format=pdf

You can also set the margin for each side separately:

https://api.screenshotone.com/take?pdf_margin=20px&pdf_margin_top=0px&access_key=<access key>&url=https://example.com&format=pdf

In this example, the margin for all sides will be 20px except the top, which will be 0px.

The result will be returned as a PDF file with the specified margins.

Check out the documentation for more details. And in case of any questions, feel free to contact us at support@screenshotone.com.

Read more product updates

New features, bug fixes, and optimizations...

View all product updates
Use cases in the ScreenshotOne playground

Use cases in the ScreenshotOne playground

Having documentation and code examples is great, but not enough to allow developers to quickly integrate the API and assess all available features of the ScreenshotOne API.

Read more

1 min read

Update your company information in the dashboard

Update your company information in the dashboard

Starting today, you can update your company information in the dashboard. It includes updating the address, tax number, company number, and company name.

Read more

1 min read

Better error coverage and documentation

Better error coverage and documentation

Since a few months ago, it has been possible to check errors in the dashboard request log and get explanations and more details in the documentation. But!

Read more

1 min read

Automate website screenshots

Exhaustive documentation, ready SDKs, no-code tools, and other automation to help you render website screenshots and outsource all the boring work related to that to us.