ImageThemingUtilities::GetThemedBitmap Method (Bitmap^, Color)

 

Creates a new Bitmap, based on the input one, but the new one blends in with the target background.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Imaging (in Microsoft.VisualStudio.Imaging.dll)

public:
static Bitmap^ GetThemedBitmap(
	Bitmap^ source,
	Color backgroundColor
)

Parameters

source
Type: System.Drawing::Bitmap^

The original bitmap, this bitmap is not changed or disposed in this function.

backgroundColor
Type: System.Drawing::Color

The background color(System.Drawing.Color)

Return Value

Type: System.Drawing::Bitmap^

The bitmap.

Return to top
Show: