I have a layer file that has a few polygons in it, each of these polygons is required to be a different color based a column in the DBF file.
I normally color layers like this:
ISimpleRenderer simplerenderer = geolayer.Renderer as ISimpleRenderer;
SimpleFillSymbol simpleFillSymbol = simplerenderer.Symbol as SimpleFillSymbol;
simpleFillSymbol.Color = selectedColor;
But this doesn't have a mechanism to use multiple colors on the same layer. How does one accomplish this?
ArcEngine 10, C#, VS2010