Click or drag to resize

HtmlToPdfClientsetBackgroundColor Method

Specify the background color of the PDF page in RGB html format. The default is #FFFFFF.

Namespace:  SelectPdf.Api
Assembly:  SelectPdf.Api (in SelectPdf.Api.dll) Version: 1.4.0
Syntax
public HtmlToPdfClient setBackgroundColor(
	string backgroundColor
)

Parameters

backgroundColor
Type: SystemString
Background color in #RRGGBB format.

Return Value

Type: HtmlToPdfClient
Reference to the current object.
See Also