CreateBitmapSourceFromBitmap(Bitmap,Int32,Int32) Method
See Also 
SourceCode.Workflow.WizardFramework.Controls Namespace > CommonMethods Class > CreateBitmapSourceFromBitmap Method : CreateBitmapSourceFromBitmap(Bitmap,Int32,Int32) Method



bitmap
width
height

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Overloads Shared Function CreateBitmapSourceFromBitmap( _
   ByVal bitmap As Bitmap, _
   ByVal width As Integer, _
   ByVal height As Integer _
) As BitmapSource
Visual Basic (Usage) Copy Code
Dim bitmap As Bitmap
Dim width As Integer
Dim height As Integer
Dim value As BitmapSource
 
value = CommonMethods.CreateBitmapSourceFromBitmap(bitmap, width, height)
C#  
public static BitmapSource CreateBitmapSourceFromBitmap( 
   Bitmap bitmap,
   int width,
   int height
)
C++/CLI  
public:
static BitmapSource^ CreateBitmapSourceFromBitmap( 
   Bitmap^ bitmap,
   int width,
   int height
) 

Parameters

bitmap
width
height

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