Version

GetAltitudeColor Method (HeatMapLayer)

Gets the color to use at a given value for the Heat Map. The StartColor and EndColor must also be provided.
Syntax
'Declaration
 
Protected Function GetAltitudeColor( _
   ByVal startColor As Color, _
   ByVal endColor As Color, _
   ByVal val As Double _
) As Color
protected Color GetAltitudeColor( 
   Color startColor,
   Color endColor,
   double val
)

Parameters

startColor
The Start of the Color Range for this Heat Map.
endColor
The End of the Color Range for this Heat Map.
val
The value, or altitude, to find a color for.

Return Value

The Color to be used for this altitude (data value) in the Heat Map.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also