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