ImageGear22.Wpf Assembly > ImageGear.WPF.BitmapSourceConversion Namespace > ImGearBitmapSourceConverter Class : BitmapSourceFromBitmap Method |
System.Drawing.Bitmap
object to be converted.
System.Drawing.Bitmap
to System.Windows.Media.Imaging.BitmapSource
.'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 )
System.Drawing.Bitmap
object to be converted.System.Windows.Media.Imaging.BitmapSource
object.