Show / Hide Table of Contents

Class PictureMarkerSymbol

Uses an image to symbolize graphics and features that have point or multipoint geometry.

Inheritance
System.Object
Symbol
MarkerSymbol
PictureMarkerSymbol
Implements
System.ComponentModel.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)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 height of the picture marker symbol in device-independent pixels (DIPs).

Opacity

Gets or sets the opacity for the picture marker 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 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

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 © 2022 Esri.