Table of Contents

Method ToUiBitmap

Namespace
DotNetBrowser.AvaloniaUi
Assembly
DotNetBrowser.AvaloniaUi.dll

ToUiBitmap(Bitmap, double)

Converts a Bitmap to the Avalonia UI Avalonia.Media.Imaging.IBitmap.

public static Bitmap ToUiBitmap(this Bitmap bitmap, double scaleFactor = 1)

Parameters

bitmap Bitmap

The bitmap to convert.

scaleFactor double

Returns

Bitmap

The converted Avalonia.Media.Imaging.IBitmap instance.