Share via


TeamFoundationIconStripHelper.BlendBitmap Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Takes a bitmap and a background color and returns a bitmap drawn on top of the background color. This is needed in cases where ImageLists do not handle partially transparent pixels correctly.

Namespace:  Microsoft.TeamFoundation.Controls
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
Public Shared Function BlendBitmap ( _
    bitmap As Bitmap, _
    backColor As Color _
) As Bitmap
public static Bitmap BlendBitmap(
    Bitmap bitmap,
    Color backColor
)
public:
static Bitmap^ BlendBitmap(
    Bitmap^ bitmap, 
    Color backColor
)
static member BlendBitmap : 
        bitmap:Bitmap * 
        backColor:Color -> Bitmap
public static function BlendBitmap(
    bitmap : Bitmap, 
    backColor : Color
) : Bitmap

Parameters

Return Value

Type: System.Drawing.Bitmap

.NET Framework Security

See Also

Reference

TeamFoundationIconStripHelper Class

Microsoft.TeamFoundation.Controls Namespace