Constructor RasterLayer
RasterLayer(Raster)
Initializes a new instance of the RasterLayer class from a raster.
Declaration
public RasterLayer(Raster raster)
Parameters
Type | Name | Description |
---|---|---|
Raster | raster | The service URI. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | source |
Applies to
Platforms and versions
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
Raster layer (file): Create and use a raster layer made from a local raster file.
RasterLayer(String)
Initializes a new instance of the RasterLayer class from the specified raster data source.
Declaration
public RasterLayer(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | Local path to a raster data source. |
Applies to
Platforms and versions
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 |
RasterLayer(Item)
Initializes a new instance of the RasterLayer class with the given image service portal item.
Declaration
public RasterLayer(Item item)
Parameters
Type | Name | Description |
---|---|---|
Item | item | Image service portal item. |
Applies to
Platforms and versions
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.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |