Creating a raster catalog layer
See the following code example:
[Java]
static void addRasterCatalogLayer(IActiveView activeView, IRasterCatalog
rasterCatalog)throws Exception{
//create a raster catalog layer
IGdbRasterCatalogLayer rastercatalogLayer = new GdbRasterCatalogLayer();
rastercatalogLayer.setup((ITable)rastercatalogLayer);
//Add it to map if the layer is valid
if (rastercatalogLayer != null){
IMap map = activeView.getFocusMap();
map.addLayer((ILayer)rastercatalogLayer);
}
}
Development licensing | Deployment licensing |
---|---|
ArcGIS for Desktop Advanced | ArcGIS for Desktop Advanced |
ArcGIS for Desktop Standard | ArcGIS for Desktop Standard |
ArcGIS for Desktop Basic | ArcGIS for Desktop Basic |
Engine Developer Kit | Engine |