Visual Basic (Declaration)
C#
Parameters
- values
- Values of colors.
Return Value
True if the colors are updated.The number of input colors can differ from the current number of ramp colors. In this case, the current number of colors is changed to match with the number of input colors.
The updated colors will be reset when the number of colors is changed. If the color ramp doesn't updatable, this operation is ignored.
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