Show / Hide Table of Contents

Method CreateAsync

CreateAsync(Stream)

Creates a new instance of a PictureMarkerSymbol from a stream of encoded image bytes

Declaration
public static async Task<PictureMarkerSymbol> CreateAsync(Stream imageStream)
Parameters
Type Name Description
Stream imageStream

The source image stream.

Returns
Type Description
Task<PictureMarkerSymbol>

The task object representing the asynchronous create operation. The value of the task result is a PictureMarkerSymbol object.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.14
iOS100.0 - 100.15
UWP100.0 - 200.0
Relevant samples
Find address: Find the location for an address.
Find place: Find places of interest near a location or within a specific area.
Mobile map (search and route): Display maps and use locators to enable search and routing offline using a Mobile Map Package.
Offline geocode: Geocode addresses to locations and reverse geocode locations to addresses offline.
Offline routing: Solve a route on-the-fly using offline data.
In This Article
Back to top Copyright © 2022 Esri.