This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterLayer Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that create or modify a raster layer.
Description | ||
---|---|---|
AreaOfInterest | The default area of interest for the layer. | |
BandCount | Number of bands in the layer. | |
Cached | Indicates if the layer needs its own display cache. | |
ColumnCount | Number of columns in the layer. | |
CreateFromDataset | Creates a layer from a RasterDataset object. | |
CreateFromFilePath | Creates a layer from a file path to raster data. | |
CreateFromRaster | Creates a layer from a Raster object. | |
DataFrameExtent | Extent of the dataframe that contains the layer. | |
DisplayResolutionFactor | Display resolution factor. Factor value is expressed as a percentage between 0 and 100. | |
Draw | Draws the layer to the specified display for the given draw phase. | |
FilePath | Filepath of the data source. | |
MaximumScale | Maximum scale (representative fraction) at which the layer will display. | |
MinimumScale | Minimum scale (representative fraction) at which the layer will display. | |
Name | Layer name. | |
PrimaryField | Layer's primary field. | |
PyramidPresent | Indicates if pyramids are present for the layer. | |
Raster | Layer's Raster object. | |
Renderer | Layer's renderer. | |
RowCount | Number of rows in the layer. | |
ShowResolution | Indicates if the raster resolution should be displayed in the Table of Contents. | |
ShowTips | Indicates if the layer shows map tips. | |
SpatialReference | Spatial reference for the layer. | |
SupportedDrawPhases | Supported draw phases. | |
TipText | Map tip text at the specified location. | |
Valid | Indicates if the layer is currently valid. | |
Visible | Indicates if the layer is currently visible. | |
VisibleExtent | Visible extent of the layer in the data frame. |
Interfaces | Description |
---|---|
ILayer | Provides access to members that work with all layers. |
CoClasses and Classes | Description |
---|---|
ImageServerLayer | Image server layer source and display options. |
RasterLayer | Raster layer source and display options. |
WCSLayer | WCS layer source and display options. |
The RasterLayer must be initialized with data before it can be used. When the layer is initialized, a default renderer is selected for the dataset based on the number of bands, statistics, and whether a colormap or other table exists for the data. Other internal properties of the layer are also set at this time.