Click or drag to resize

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
)

Parameters

bitmap
Type: System.DrawingBitmap
The System.Drawing.Bitmap to convert.

Return Value

Type: BitmapSource
A System.Windows.Media.Imaging.BitmapSource for the Bitmap.
See Also