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
bitmap
Type: System.Drawing.BitmapThe bitmap to draw against the given background color.
backColor
Type: System.Drawing.ColorThe background color to draw the bitmap on.
Return Value
Type: System.Drawing.Bitmap
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.