Method ToRuntimeImageAsync
ToRuntimeImageAsync(ImageSource)
Converts a native platform image to a runtime image data container type
Declaration
public static async Task<RuntimeImage> ToRuntimeImageAsync(this ImageSource image)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Media.ImageSource | image | The input input |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RuntimeImage> | Image data container |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | 200.0 - 200.6 |