BCGControlBar Library for .NET
SDKDrawImage2 Method




Syntax
'Declaration
 
Public Shared Sub SDKDrawImage2( _
   ByVal grph As Graphics, _
   ByVal hbmp As IntPtr, _
   ByVal destRect As Rectangle, _
   ByVal srcRect As Rectangle, _
   ByVal alphaSrc As Byte, _
   ByVal bitmapSize As Size, _
   ByVal isAlphaFormat As Boolean _
) 
'Usage
 
Dim grph As Graphics
Dim hbmp As IntPtr
Dim destRect As Rectangle
Dim srcRect As Rectangle
Dim alphaSrc As Byte
Dim bitmapSize As Size
Dim isAlphaFormat As Boolean
 
GlobalUtils.SDKDrawImage2(grph, hbmp, destRect, srcRect, alphaSrc, bitmapSize, isAlphaFormat)
public static void SDKDrawImage2( 
   Graphics grph,
   IntPtr hbmp,
   Rectangle destRect,
   Rectangle srcRect,
   byte alphaSrc,
   Size bitmapSize,
   bool isAlphaFormat
)
public: static void SDKDrawImage2( 
   Graphics* grph,
   IntPtr hbmp,
   Rectangle destRect,
   Rectangle srcRect,
   byte alphaSrc,
   Size bitmapSize,
   bool isAlphaFormat
) 
public:
static void SDKDrawImage2( 
   Graphics^ grph,
   IntPtr hbmp,
   Rectangle destRect,
   Rectangle srcRect,
   byte alphaSrc,
   Size bitmapSize,
   bool isAlphaFormat
) 

Parameters

grph
hbmp
destRect
srcRect
alphaSrc
bitmapSize
isAlphaFormat
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