Show / Hide Table of Contents

Class Raster

A raster datasource.

Inheritance
System.Object
Raster
GeoPackageRaster
ImageServiceRaster
MosaicDatasetRaster
Implements
ILoadable
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)
System.Object.ToString()
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

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Relevant samples

Raster layer (file): Create and use a raster layer made from a local raster file.
In This Article
Back to top Copyright © 2022 Esri.