XFINIUM.PDF Documentation
BackgroundColor Property (PdfFormattedTextBlock)



Xfinium.Pdf.Graphics.FormattedContent Namespace > PdfFormattedTextBlock Class : BackgroundColor Property
Gets or sets the background color.
Syntax
'Declaration
 
Public Property BackgroundColor As PdfBrush
'Usage
 
Dim instance As PdfFormattedTextBlock
Dim value As PdfBrush
 
instance.BackgroundColor = value
 
value = instance.BackgroundColor
public PdfBrush BackgroundColor {get; set;}
public:
property PdfBrush^ BackgroundColor {
   PdfBrush^ get();
   void set (    PdfBrush^ value);
}

Property Value

The brush used to fill the text background.
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

PdfFormattedTextBlock Class
PdfFormattedTextBlock Members