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



bitmap

Glossary Item Box

Syntax

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

Parameters

bitmap

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