Method ToUiBitmap
- Namespace
- DotNetBrowser.AvaloniaUi
- Assembly
- DotNetBrowser.AvaloniaUi.dll
ToUiBitmap(Bitmap)
Converts a Bitmap to the Avalonia UI Avalonia.Media.Imaging.IBitmap.
public static Bitmap ToUiBitmap(this Bitmap bitmap)
Parameters
bitmap
BitmapThe bitmap to convert.
Returns
- Bitmap
The converted Avalonia.Media.Imaging.IBitmap instance.