ArcObjects Library Reference  (Carto)    

RasterLayer CoClass

Raster layer source and display options.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IAttributeTable Provides access to the base table.
IClass (esriGeoDatabase) Provides access to members that return information about and manage the class.
IConnectionPointContainer Supports connection points for connectable objects.
IDataLayer Provides access to members that control the data source properties of a layer.
IDataLayer2 Provides access to additional members that control the data source properties of a layer.
IDataset (esriGeoDatabase) Provides access to members that supply dataset information.
IDisplayAdmin (esriDisplay) Provides access to members that control display administration.
IDisplayAdmin2 (esriDisplay) Provides access to members that control display administration.
IDisplayRelationshipClass Provides access to members that are used to set up joins.
IDisplayTable Provides access to members that work with the display table associated with a standalone table.
IGeoDataset (esriGeoDatabase) Provides access to members that provide information about a Geographic Dataset.
IGeoReference Provides access to members that control the georeferencing operations.
IIdentify Provides access to members that identify features.
ILayer Provides access to members that work with all layers.
ILayer2 Provides access to additional members that work with all layers.
ILayerDrawingProperties Provides access to members that control layer drawing properties.
ILayerEffects Provides access to members that control layer effects.
ILayerExtensions Provides access to the extensions of a layer.
ILayerFields Provides access to members that work with a layer's fields.
ILayerGeneralProperties Provides access to layer general properties.
ILayerInfo Provides access to members that return layer images.
ILayerPosition Provides access to members that control a layer's default position in the map interface.
ILegendInfo Provides access to members that control legend information provided by a renderer.
IObjectClass (esriGeoDatabase) Provides access to members that return information about an object class.
IPersistStream (esriSystem)
IPublishLayer Provides access to a layer's capability for being published with the ArcGIS Publisher extension.
IRasterDataManagementEvents (esriDataSourcesRaster) Provides access to events that occur with an raster dataset.
IRasterLayer Provides access to members that create or modify a raster layer.
IRasterSpatialSelection Provides access to members that control the behavior of the spatial selection.
IRelationshipClassCollection Provides access to members that return the memory relationship classes defined for standalone tables or layers in ArcMap.
IRelationshipClassCollectionEdit Provides access to members that add and remove memory relationship classes from a standalone table or layer.
ITable (esriGeoDatabase) Provides access to members that return information about and manage tables.
ITableFields (esriGeoDatabase) Provides access to members that return information about a table.
ITableSelection Provides access to members that control table selection.
ITemporaryLayer Provides access to temporary layer properties.

Event Interfaces

Interfaces Description
ILayerEvents (default) Provides access to events that occur when layer visibility changes.
IGeoReferenceEvents Provides access to events that occur when the state of the layer changes.

Remarks

RasterLayer object can be initialized from a file on disk, a Raster object or a RasterDataset object.

A RasterLayer can be retrieved from IMap::Layer property also, if the Map contains a raster layer.

Working with Events

[Visual Basic 6.0]

When working with RasterLayer's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pRasterLayer as RasterLayer

When implementing IGeoReferenceEvents declare variables as follows:

Private WithEvents pGeoReferenceEvents as GeoReferenceEvents