XFINIUM.PDF.Render Documentation
BackgroundColor Property



Gets or sets the background color of the rendered page.
Syntax
'Declaration
 
Public Property BackgroundColor As Integer
'Usage
 
Dim instance As PdfRendererSettings
Dim value As Integer
 
instance.BackgroundColor = value
 
value = instance.BackgroundColor
public int BackgroundColor {get; set;}
public:
property int BackgroundColor {
   int get();
   void set (    int value);
}

Property Value

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.
Requirements

Supported .NET Platforms: .NET 2.0 - .NET 4.6, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Windows Phone 8 & 8.1, Xamarin iOS & Android, Portable Class Library


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfRendererSettings Class
PdfRendererSettings Members

Send Feedback