Show / Hide Table of Contents

Constructor PictureFillSymbolLayer

PictureFillSymbolLayer(RuntimeImage)

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

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

A loaded RuntimeImage.

Remarks

Create a PictureFillSymbolLayer with image data. The image, if valid, is set as the fill of the containing polygon and the load status is set 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

PictureFillSymbolLayer(Uri)

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

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

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

Remarks

Create a PictureFillSymbolLayer with an image URI. The given Uri is used to retrieve the image data to use as the picture. The URI may be a URL or a file location.

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.