Show / Hide Table of Contents

Method ToImageSourceAsync

ToImageSourceAsync(RuntimeImage)

Converts a RuntimeImage to a platform-native image type.

Declaration
public static async Task<ImageSource?> ToImageSourceAsync(this RuntimeImage image)
Parameters
Type Name Description
RuntimeImage image

Runtime Image to convert

Returns
Type Description
System.Threading.Tasks.Task<Nullable<ImageSource>>

A native platform bitmap image

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 100.15
In This Article
Back to top Copyright © 2022 Esri.