ImageGear for .NET
BitmapSourceFromBitmap Method




System.Drawing.Bitmap object to be converted.
Converts System.Drawing.Bitmap to System.Windows.Media.Imaging.BitmapSource.
Syntax
'Declaration
 
Public Function BitmapSourceFromBitmap( _
   ByVal bitmap As Bitmap _
) As BitmapSource
'Usage
 
Dim instance As ImGearBitmapSourceConverter
Dim bitmap As Bitmap
Dim value As BitmapSource
 
value = instance.BitmapSourceFromBitmap(bitmap)
public BitmapSource BitmapSourceFromBitmap( 
   Bitmap bitmap
)
public: BitmapSource* BitmapSourceFromBitmap( 
   Bitmap* bitmap
) 
public:
BitmapSource^ BitmapSourceFromBitmap( 
   Bitmap^ bitmap
) 

Parameters

bitmap
System.Drawing.Bitmap object to be converted.

Return Value

System.Windows.Media.Imaging.BitmapSource object.
See Also

Reference

ImGearBitmapSourceConverter Class
ImGearBitmapSourceConverter Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback