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:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Rasterizer selected.
- A DynamicPDF Rasterizer for .NET v4.X Developer license.
Remarks
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.