Table of Contents

Method SystemDrawingBitmapToWpf

Namespace
Alternet.Common.Wpf
Assembly
Alternet.Common.Wpf.v10.dll

SystemDrawingBitmapToWpf(Bitmap)

Converts given System.Drawing.Bitmap to its WPF representation.

public static BitmapSource SystemDrawingBitmapToWpf(Bitmap bitmap)

Parameters

bitmap Bitmap

Returns

BitmapSource

The System.Windows.Media.Imaging.BitmapSource represents source image.