Table of Contents

Property Background

Namespace
DocWright.Formats.Pdf.Raster
Assembly
DocWright.Formats.Pdf.dll

Background

Gets or sets the colour the page is painted onto. Default: white.

public ColorRgb Background { get; set; }

Property Value

ColorRgb

Remarks

A PDF page has no background of its own — it is whatever the paper is — so this is not a property of the document. It matters for a page whose content is partly transparent, and for JPEG output, which has no alpha channel to carry the difference.