Class PictureMarkerSymbol
Uses an image to symbolize graphics and features that have point or multipoint geometry.
Implements
System.ComponentModel.INotifyPropertyChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Bindable]
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
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.