Class Raster
A raster datasource.
Implements
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Esri.ArcGISRuntime.Rasters
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class Raster : ILoadable
Constructors
| Name | Description |
|---|---|
| Raster(RasterFunction) | Initializes a new instance of the Raster class. |
| Raster(String) | Initializes a new instance of the Raster class. |
Properties
| Name | Description |
|---|---|
| Function | Gets the raster function for this instance. |
| LoadError | Gets the load status of raster. |
| LoadStatus | Gets the load status of raster. |
| Path | Gets the raster path for this instance. |
| RasterType | Gets the type of the raster (data source) |
Methods
| Name | Description |
|---|---|
| CancelLoad() | Cancels an ongoing load. |
| LoadAsync() | Initiates loading of raster. |
| RetryLoadAsync() | Retry loading raster. |
Events
| Name | Description |
|---|---|
| Loaded | Occurs when raster is loaded. |
| LoadStatusChanged | Occurs when raster's LoadStatus is changed. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |
Relevant samples
Raster layer (file): Create and use a raster layer made from a local raster file.