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
Returns
- Bitmap
The converted Avalonia.Media.Imaging.IBitmap instance.