Initializes a new RasterLayer object and connects the layer to an in-memory Raster.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public static RasterLayer OpenFromRaster(
	Raster raster
)
Visual Basic (Declaration)
Public Shared Function OpenFromRaster ( _
	raster As Raster _
) As RasterLayer

Parameters

raster
Type: ESRI.ArcGISExplorer.Data..::.Raster

A Raster object containing the georeferenced image.

Return Value

A RasterLayer object connected to the specified Raster.

Remarks

Use this method to both instantiate a RasterLayer and connect the layer to an in-memory Raster.

See Also