Click or drag to resize
Pdf Library for .NET

PdfHtmlElementDrawBackground Property

Gets or sets a flag indicating if the web page background is rendered in pdf.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax
public bool DrawBackground { get; set; }

Property Value

Type: Boolean
Remarks
The default value for this property is true and the page background is rendered into the generated pdf. Even though it might be white, it will still make invisible any pdf element that was rendered behind it. Setting this property to false can make visible the existing pdf elements behind this html element.
See Also