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


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

IRasterColormap3 Interface

Provides access to members that control a raster colormap.

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.
Method LoadFrom Loads colors from an Esri .clr file.
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).
Method SaveTo Saves colors to an Esri .clr file.

Inherited Interfaces

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

CoClasses that implement IRasterColormap3

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

Remarks

The IRasterColormap3 interface allows to load a colormap from a .clr file to a raster dataset and save a colormap from a raster dataset to a .clr file.

 

.NET Related Topics

How to save and load color maps