Method ToImageSourceAsync
ToImageSourceAsync(RuntimeImage?)
Converts a RuntimeImage to a platform-native image type.
Declaration
public static Task<ImageSource?> ToImageSourceAsync(this RuntimeImage? image)
Parameters
| Type | Name | Description |
|---|---|---|
| RuntimeImage | image | Runtime Image to convert |
Returns
| Type | Description |
|---|---|
| Task<ImageSource> | A native platform bitmap image |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Windows | 100.13 - 300.0 |