PeachPDF

PeachPDF.PdfGenerateConfig

PdfGenerateConfig.PreferredColorScheme Property

The color scheme reported to @media (prefers-color-scheme: ...) queries. Defaults to Light; set to Dark to render the document’s dark-mode styles.

public PeachPDF.PdfColorScheme PreferredColorScheme { get; set; }

Property Value

PdfColorScheme