Click or drag to resize
Pdf Library for .NET

HtmlToImageDrawBackground Property

Gets or sets a flag indicating if the web page background is rendered into the generated image.

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

Property Value

Boolean
Remarks
The default value for this property is true and the page background is rendered. Setting this to false produces an image with a transparent background where the page does not paint its own.
See Also