This document is archived and information here might be outdated.  Recommended version.


IRasterColormap2 Interface (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterColormap2 Interface
ArcGIS Developer Help

IRasterColormap2 Interface

Provides access to members that control a raster colormap. Note: the IRasterColormap2 interface has been superseded by IRasterColormap3. Please consider using the more recent version.

Product Availability

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

Members

Name Description
Method Bin Translates pixel values into integers to index them into the colormap.
Read-only property BinFunction The Bin function that maps pixel value into colormap index.
Read/write property BlueValues Array of blue ratios as doubles between 0.0 and 1.0.
Read/write property Colors Array of colors as OLE_COLORs.
Read/write property GreenValues Array of green ratios as doubles between 0.0 and 1.0.
Write-only property LUT The lookup table (OBJECTID, VALUE) for remaping from index to pixel value.
Read/write property RedValues Array of red ratios as doubles between 0.0 and 1.0.
Read-only property RemappedBlueValues The remapped Blue color component values using LUT from index to value (OBJECTID, VALUE).
Read-only property RemappedColors The remapped colors using LUT from index to value (OBJECTID, VALUE).
Read-only property RemappedGreenValues The remapped Green color component values using LUT from index to value (OBJECTID, VALUE).
Read-only property RemappedRedValues The remapped Red color component values using LUT from index to value (OBJECTID, VALUE).

Inherited Interfaces

Interfaces Description
IRasterColormap Provides access to members that control a raster colormap.

Classes that implement IRasterColormap2

Classes Description
RasterColormap A container for a colormap used to display a raster band.

Remarks

The IRasterColormap2 interface provides function to map the index (objectid) to raster pixel values, so the entries in the raster colormap match the raster pixel values correctly. The LUT property sets the lookup table for mapping from index to raster pixel value.