Table of Contents

Method FromSystemDrawingImage

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

FromSystemDrawingImage(Image)

Converts given System.Drawing.Image to the BitmapImage object.

public static BitmapImage FromSystemDrawingImage(Image source)

Parameters

source Image

Source image.

Returns

BitmapImage

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