Show / Hide Table of Contents

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
System.Windows.Media.ImageSource image

The input input

Returns
Type Description
System.Threading.Tasks.Task<RuntimeImage>

Image data container

Applies to

Platforms and versions
TargetVersions
.NET Windows100.13 - 200.8
.NET Framework100.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.