Esri Business Analyst Server API for Silverlight 2.2 Reference
GetRampColors Method
See Also  Send Feedback
ESRI.ArcGIS.Client.BACore.ThematicMapping Namespace > ColorRampSchema Class : GetRampColors Method

colorsCount
A number of colors required.

Glossary Item Box

Gets a new collection of ramp colors.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Parameters

colorsCount
A number of colors required.

Return Value

A list containing the required number of colors.

Remarks

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.

Requirements

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

See Also

© 2010-2012 Esri, Inc. All Rights Reserved.