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

index
Zero-based index of color in the discrete color ramp.

Glossary Item Box

Gets a discrete color by index.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Parameters

index
Zero-based index of color in the discrete color ramp.

Return Value

Required color.

Remarks

If the index is negative, the first color is returned. If the index is greater or equal to RampColorsCount, the last color is returned.

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.