Show / Hide Table of Contents

Method GetThumbnailDataAsync

GetThumbnailDataAsync()

Get the thumbnail image data for this portal group.

Declaration
public Task<Stream> GetThumbnailDataAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>

A task representing the asynchronous get operation. The value of the task result is a System.IO.Stream with encoded thumbnail image data, or null if this portal group has no thumbnail.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15

GetThumbnailDataAsync(CancellationToken)

Get the thumbnail image data for this portal group.

Declaration
public Task<Stream> GetThumbnailDataAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken

A CancellationToken with which to cancel the operation if required.

Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>

A task representing the asynchronous get operation. The value of the task result is a System.IO.Stream with encoded thumbnail image data, or null if this portal group has no thumbnail.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.14
In This Article
Back to top Copyright © 2022 Esri.