Skip to content

PdfRendererSettings.BackgroundColor Property

Gets or sets the background color of the rendered page.

C#
public int BackgroundColor { get; set; }

Property Value

Int32

The background color of the rendered page.

Remarks

The byte layout of the color components in this color must match the byte layout in the rendering surface. For example if the rendering surface is RGBA then this color must also be specified as RGBA.