The MapDataToHeightColor method maps a data value to a specific color in the prism map height color spectrum.
Syntax
object.MapDataToHeightColor( DatVal, Color )
Parameter |
Type |
Description |
DatVal |
Double |
required; data value |
Color |
required; color, see remarks |
Remarks
Use the enumeration [ mvColorRed], RGB value [RGB(255,0,0)], or number [255] to set a color.
To display the color, the ColorMethod must be set to mvPrismColorInterpolated.
Example
This example changes the color of the height data value 10000 to green.
PrismMap.MapDataToHeightColor( DatVal:= 10000, Color:= mvColorGreen )
Used by: PrismMap object