Share via


PdfPageRenderOptions.BackgroundColor Property

Definition

Gets or sets the Portable Document Format (PDF) page's background color.

public:
 property Color BackgroundColor { Color get(); void set(Color value); };
Color BackgroundColor();

void BackgroundColor(Color value);
public Color BackgroundColor { get; set; }
var color = pdfPageRenderOptions.backgroundColor;
pdfPageRenderOptions.backgroundColor = color;
Public Property BackgroundColor As Color

Property Value

The Portable Document Format (PDF) page's background color.

Remarks

The default background color is White

Applies to