PdfPageOptions.TransparentBackground Property

Gets or sets the value indicating whether the default background should be transparent.

Namespace:  BitMiracle.Docotic.Pdf.HtmlToPdf
Assembly:  BitMiracle.Docotic.Pdf.HtmlToPdf (in BitMiracle.Docotic.Pdf.HtmlToPdf.dll)

Syntax

C#
public bool TransparentBackground { get; set; }
VB
Public Property TransparentBackground As Boolean
	Get
	Set

Property Value

Type: Boolean
true if the default background shoud be transparent; otherwise, false.

Remarks

Default value: false.

This property only affects the default background color. Any color specified for html or body tags of your HTML code will override the setting.

See Also