Version

ScaleColor Method (Heatmap3DLayer)

Calculates a color halfway between two colors.
Syntax
'Declaration
 
Protected Function ScaleColor( _
   ByVal color1 As Color, _
   ByVal color2 As Color _
) As Color
protected Color ScaleColor( 
   Color color1,
   Color color2
)

Parameters

color1
A color.
color2
Another color.

Return Value

A color halfway between both colors.
Remarks

The color returned shall have the opacity (or alpha) value of color1.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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