I have a properties dialog that let user select a theme color and based on the theme that I generate colors which will be applied to different regions of a map.
Before, we use arcgis 9.3 api, there are ESRI.ArcGIS.Display.IEnumColors class that can generate colors for us. Now, we are using arcgis wpf apis only, is there a similar class that achieve the same work?
Code example of what we did:
IColorRamp colorRamp = ColorRampInstance;
colorRamp.Size = 5
bool ok = true;
colorRamp.CreateRamp(out ok);
IEnumColors enumRamp = colorRamp.Colors;
IColor nextUniqueColor = enumRamp.Next();
How can we achieve the same thing using arcgis wpf apis?
Thanks!