SpreadsheetGear 2012
BackgroundBrush Property (Image)






Gets or sets the property which specifies the background brush to use for the image.
Syntax
'Declaration
 
Public Property BackgroundBrush As System.Windows.Media.Brush
'Usage
 
Dim instance As Image
Dim value As System.Windows.Media.Brush
 
instance.BackgroundBrush = value
 
value = instance.BackgroundBrush
public System.Windows.Media.Brush BackgroundBrush {get; set;}
public read-write property BackgroundBrush: System.Windows.Media.Brush; 
public function get,set BackgroundBrush : System.Windows.Media.Brush
public: __property System.Windows.Media.Brush* get_BackgroundBrush();
public: __property void set_BackgroundBrush( 
   System.Windows.Media.Brush* value
);
public:
property System.Windows.Media.Brush^ BackgroundBrush {
   System.Windows.Media.Brush^ get();
   void set (    System.Windows.Media.Brush^ value);
}
Remarks
This brush has meaning in cases where ranges and shapes use fills and lines that include some level of transparency.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Image Class
Image Members

Send Feedback