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


IRasterColormap2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterColormap2 Interface

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

Product Availability

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

Members

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.

CoClasses that implement IRasterColormap2

CoClasses and 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.