Table of Contents

Method ToBitmapSource

Namespace
DotNetBrowser.Wpf
Assembly
DotNetBrowser.Wpf.dll

ToBitmapSource(Bitmap)

Converts the Bitmap instance to BitmapSource that can be then used in building the UI, e.g. displaying icons.

public static BitmapSource ToBitmapSource(this Bitmap bitmap)

Parameters

bitmap Bitmap

the bitmap to convert

Returns

BitmapSource

the converted bitmap.