Show / Hide Table of Contents

Method ToImageSourceAsync

ToImageSourceAsync(RuntimeImage?)

Converts a RuntimeImage to a platform-native image type.

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

Runtime Image to convert

Returns
Type Description
Task<UIImage>

A native platform bitmap image

Applies to

Platforms and versions
TargetVersions
.NET iOS200.0 - 300.0
Xamarin.iOS100.0 - 100.15
In this article
Provide feedback
Back to top Copyright © 2025 Esri.