Click or drag to resize

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
)

Parameters

image
Type: System.Windows.Media.ImagingBitmapSource
The System.Windows.Media.Imaging.BitmapSource to convert.

Return Value

Type: Bitmap
A System.Drawing.Bitmap for the BitmapSource.
See Also