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 |
|
| System.InvalidOperationException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.5 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.5 - 200.8 |
| Xamarin.Android | 100.5 - 100.15 |
| Xamarin.iOS | 100.5 - 100.15 |
| UWP | 100.5 - 200.8 |
PictureFillSymbolLayer(Uri)
Initializes a new instance of the PictureFillSymbolLayer class from a RuntimeImage.
Declaration
public PictureFillSymbolLayer(Uri uri)
Parameters
| Type | Name | Description |
|---|---|---|
| System.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 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.2 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.5 - 200.8 |
| Xamarin.Android | 100.5 - 100.14 |
| Xamarin.iOS | 100.5 - 100.15 |
| UWP | 100.5 - 200.8 |