IRasterColormap3 Interface

Provides access to members that control a raster colormap.

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

IRasterColormap3.LoadFrom Method

Loads colors from an Esri .clr file.

Public Sub LoadFrom ( _
    ByVal colormapFileName As String _
)
public void LoadFrom (
    string colormapFileName
);

IRasterColormap3.SaveTo Method

Saves colors to an Esri .clr file.

Public Sub SaveTo ( _
    ByVal colormapFileName As String _
)
public void SaveTo (
    string colormapFileName
);

Inherited Interfaces

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

Classes that implement IRasterColormap3

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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.