System.Drawing.Bitmap to System.Windows.Media.Imaging.BitmapSource.
Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- bitmap
System.Drawing.Bitmapobject to be converted.
Return Value
System.Windows.Media.Imaging.BitmapSource object.