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 |
---|---|
System.ArgumentNullException |
|
InvalidOperationException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.5 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 100.15 |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.5 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 100.14 |