Visual Basic (Declaration)
C#
Parameters
- colorsCount
- A number of colors required.
Return Value
A list containing the required number of colors.If this color ramp schema is simple (consists of a unique gradient specified by two colors), ramp colors are calculated using mid values of ramp intervals. Otherwise, the best matching gradient is selected whose number of color equals to colorsCount. If an appropriated gradient is not found, the ramp colors are rendered using edge values of ramp intervals for predefined colors of a color gradient with the nearest number of colors.
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