Blog
omitBackground added to Chrome to PDF
Published Oct 10, 2021
PuppeteerSharp version 5.1.0 has added support for omitBackground flag. This is a boolean option that will, if set to true, make your PDFs have a transparent background. We don’t actually know why people would need this, but it was a feature request from one of our customers. When PuppeteerSharp added support, we updated our endpoints accordingly. We default to false.
This is only for Chrome > PDF endpoints.
See docs for usage:
https://app.swaggerhub.com/apis-docs/api2pdf/api2pdf/2.0.0#/Headless%20Chrome/chromePdfFromHtmlPost