Visual Basic (Declaration)
C#
Parameters
- value
- A value between 0 and 1 specifying a position of color in the color ramp gradient.
Return Value
Required color.The color for the given value is calculated using a linear gradient interpolation between discrete colors of the color ramp posed at the nodes xi=i/(rampColorsCount-1)
.
The input value should belong to [0, 1]. If the value is negative, the first color is returned. If the value is greater that 1, the last color is returned.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family