Show / Hide Table of Contents

Class PictureMarkerSymbol

Uses an image to symbolize geoelements that have point or multipoint geometry.

Inheritance
Object
Symbol
MarkerSymbol
PictureMarkerSymbol
Implements
INotifyPropertyChanged
MarkerSymbol.Angle
MarkerSymbol.AngleAlignment
MarkerSymbol.LeaderOffsetX
MarkerSymbol.LeaderOffsetY
MarkerSymbol.OffsetX
MarkerSymbol.OffsetY
Symbol.PropertyChanged
Symbol.FromJson(String)
Symbol.ToJson()
Symbol.Clone()
Symbol.CreateSwatchAsync(Double)
Symbol.CreateSwatchAsync(Color, Double)
Symbol.CreateSwatchAsync(Int32, Int32, Single, Color, Geometry)
Symbol.CreateSwatchAsync(Int32, Int32, Double, Color)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class PictureMarkerSymbol : MarkerSymbol, INotifyPropertyChanged
Remarks

Supported image formats are BMP, GIF, ICO, JPEG, and PNG. Animated GIF is not supported.

Constructors

Name Description
PictureMarkerSymbol(RuntimeImage)

Initializes a new instance of the PictureMarkerSymbol class from runtime image data container.

PictureMarkerSymbol(Uri)

Initializes a new instance of the PictureMarkerSymbol class from an image URI.

Properties

Name Description
Height

Gets or sets the image height.

Opacity

Gets or sets the opacity for the symbol.

Uri

Gets or sets the URI of the picture marker symbol.

Width

Gets or sets the image width.

Methods

Name Description
CreateAsync(Stream)

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

ToMultilayerSymbol()

Converts a PictureMarkerSymbol to a MultilayerPointSymbol.

Applies to

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

Relevant samples

Find address: Find the location for an address.
Find place: Find places of interest near a location or within a specific area.
Find route: Display directions for a route between two points.
In This Article
Back to top Copyright © 2021 Esri.