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.900 (2.0.0.900)

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

Relate Topics:
  Connect Method
  CreateFromXmlString Method
  Disconnect Method
  MoveTo Method
  OpenArcSDERaster Method
  OpenFileGeodatabaseRaster Method
  OpenRasterFile Method
Created by Atop CHM to web converter,© 2009 all right reserved.