'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.