ColormapFunctionArguments
Base Type: RasterFunctionArguments
A class for raster colormap function arguments.
Property |
Type |
Description |
---|---|---|
Colormap |
The raster colormap. | |
ColormapName |
string |
The pre-defined colormap name, e.g. "Random", "NDVI", "Elevation", and "Gray". |
Remarks
Set VariableName of the RenderingRule object to "Raster" when using ColormapFunction. Specify either Colormap or ColormapName in arguments.
Examples
C#
ColormapFunctionArguments argument = new ColormapFunctionArguments();
argument.Names = new string[] {"ColormapName"};
// "Random", "NDVI", "Elevation", and "Gray"
argument.Values = new object[] { "Elevation"};
2/28/2020