Set to Grayscale
When rendering an HTML page to PDF with IronPDF, output options for the ChromePdfRenderer
class can be changed to create a custom document that fits your needs. These options include paper size, DPI, headers and footers, and other Chromium-specific browser setup options. IronPDF also has the option to set your PDF color to grayscale.
This example shows you how to render your PDF document to grayscale.
Converting your document to grayscale makes the colors wash down to black and white. This makes printing on black and white printers easy. The grayscale option in the ChromePdfRenderer
class outputs a black and white PDF document. However, the default value is false. If you want the document to render in grayscale, you would have to manually put in the grayscale settings.
To learn more about the capabilities of IronPDF and other Iron Software libraries such as IronBarcode and IronOCR, you can visit the IronPDF Website and explore other resources and documentation available on Iron Software's Official Site.