ArcGIS Explorer Component Help |
RasterLayer..::.OpenFileGeodatabaseRaster Method |
RasterLayer Class See Also |
Initializes a new RasterLayer object and connects the layer to a file geodatabase raster.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public static RasterLayer OpenFileGeodatabaseRaster( string path, string rastername ) |
Visual Basic (Declaration) |
---|
Public Shared Function OpenFileGeodatabaseRaster ( _ path As String, _ rastername As String _ ) As RasterLayer |
Parameters
- path
- Type: System..::.String
The path to a file geodatabase.
- rastername
- Type: System..::.String
The name of a file geodatabase raster.
Return Value
A RasterLayer object connected to the specified file geodatabase raster.Remarks
Use this method to both instantiate a RasterLayer and connect the layer to a raster stored in a file geodatabase.
In contrast to the Connect method, an exception will be thrown if the specified path and raster name are incorrect.