XFINIUM.PDF.Render Documentation
BackgroundColor Property



Xfinium.Pdf.Rendering Namespace > PdfRendererSettings Class : 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 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


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