PdfRasterizer.BackgroundColor Property

Gets or sets the background color of the output image. Page contents will be rendered on top of the specified background color.

public Color BackgroundColor { get; set; }
Public Property BackgroundColor As Color

Property Value


Licensing Info

This property is a DynamicPDF Rasterizer feature. One of the following is required for non-evaluation usage:


Transparency is supported if RGBA color format is used. If color format is other than RGBA alpha value will be ignored. In case of Monocrome or Grayscale images, background color specified will be converted to appropriate Monocrome/Grayscale color in the output image.

See Also


In this topic