Gets or sets the background color of this FreeImageBitmap. In case the value is null, the background color is removed.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public Nullable<Color> BackgroundColor { get; set; }
Visual Basic (Declaration)
Public Property BackgroundColor As Nullable(Of Color)
Visual C++
public:
property Nullable<Color> BackgroundColor {
	Nullable<Color> get ();
	void set (Nullable<Color> value);
}

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionGet: There is no background color available.
System..::.ExceptionSet: Setting background color failed.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also