ColormapFunction

Base Type: RasterFunction

A class for a Colormap raster function.

Remarks

Applies a color map to a raster.

Examples

C#

RenderingRule renderRule = new RenderingRule();

ColormapFunction function = new ColormapFunction();

ColormapFunctionArguments argument = new ColormapFunctionArguments();

argument.Names = new string[] {"ColormapName"};

// "Random", "NDVI", "Elevation", and "Gray"

argument.Values = new object[] { "Elevation"};

renderRule.Arguments = argument;

renderRule.Function = function;

renderRule.VariableName = "Raster";

geoImgDesc.RenderingRule = renderRule;

11/8/2016