WpfObjectConverterConvertBitmap Method (BitmapSource) |
Converts a System.Windows.Media.Imaging.BitmapSource to a System.Drawing.Bitmap.
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 Bitmap ConvertBitmap(
BitmapSource image
)
Public Shared Function ConvertBitmap (
image As BitmapSource
) As Bitmap
Parameters
- image
- Type: System.Windows.Media.ImagingBitmapSource
The System.Windows.Media.Imaging.BitmapSource to convert.
Return Value
Type:
BitmapA System.Drawing.Bitmap for the BitmapSource.
See Also