Show / Hide Table of Contents

Constructor PictureMarkerSymbolLayer

PictureMarkerSymbolLayer(RuntimeImage)

Initializes a new instance of the PictureMarkerSymbolLayer class from a RuntimeImage.

Declaration
public PictureMarkerSymbolLayer(RuntimeImage image)
Parameters
Type Name Description
RuntimeImage image

A loaded RuntimeImage.

Remarks

The PictureMarkerSymbolLayer is set up with following default properties: Anchor at (0, 0), offset of (0, 0), size of 13.33 DIPs (10 points), an heading of 0 degrees, and an empty URI. If the image is valid, the function sets the image on the symbol layer, and sets the load status of the PictureMarkerSymbolLayer to Loaded.

Exceptions
Type Condition
ArgumentNullException

image is null.

InvalidOperationException

image is not loaded.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.5 - 200.2
.NET 6.0100.13 - 200.2
.NET 6.0 Windows100.13 - 200.2
.NET 6.0 Android200.0 - 200.2
.NET 6.0 iOS200.0 - 200.2
.NET Framework100.5 - 200.2
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.5 - 100.15
iOS100.5 - 100.15
UWP100.5 - 200.2

PictureMarkerSymbolLayer(Uri)

Initializes a new instance of the PictureMarkerSymbolLayer class from a RuntimeImage.

Declaration
public PictureMarkerSymbolLayer(Uri uri)
Parameters
Type Name Description
Uri uri

The URI location of the image to use in the symbol layer.

Remarks

This PictureMarkerSymbolLayer is set up the following default properties: Anchor at (0, 0), offset of (0, 0), size of 13.33 DIPs (10 points), an angle of 0 degrees, width and height of (0, 0), and a null image. The function sets the URI to the string provided.

Applies to

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