BCGControlBar Library for .NET
CopyBitmapToClipboard Method




A bitmap to create a copy.
A color to set as transparent. This color will be applied to pixels which all color components are equal zero.
Creates a copy of the specified bitmap using transparent color before placing it to the clipboard.
Syntax
'Declaration
 
Public Shared Function CopyBitmapToClipboard( _
   ByVal bmp As Bitmap, _
   ByVal colorTransparent As Color _
) As Bitmap
'Usage
 
Dim bmp As Bitmap
Dim colorTransparent As Color
Dim value As Bitmap
 
value = GlobalUtils.CopyBitmapToClipboard(bmp, colorTransparent)
public static Bitmap CopyBitmapToClipboard( 
   Bitmap bmp,
   Color colorTransparent
)
public: static Bitmap* CopyBitmapToClipboard( 
   Bitmap* bmp,
   Color colorTransparent
) 
public:
static Bitmap^ CopyBitmapToClipboard( 
   Bitmap^ bmp,
   Color colorTransparent
) 

Parameters

bmp
A bitmap to create a copy.
colorTransparent
A color to set as transparent. This color will be applied to pixels which all color components are equal zero.
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

GlobalUtils Class
GlobalUtils Members

Send Feedback