WpfObjectConverterConvertBitmap Method (Bitmap) |
Converts a System.Drawing.Bitmap to a System.Windows.Media.Imaging.BitmapSource.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static BitmapSource ConvertBitmap(
Bitmap bitmap
)
Public Shared Function ConvertBitmap (
bitmap As Bitmap
) As BitmapSource
Parameters
- bitmap
- Type: System.DrawingBitmap
The System.Drawing.Bitmap to convert.
Return Value
Type:
BitmapSourceA System.Windows.Media.Imaging.BitmapSource for the Bitmap.
See Also