Hello, I have a shapefile which contains a polygon with multiple shapes, (different regions in NY state). Is there a way to set dynamic colors to different regions (shapes)?
You can specify a renderer for your layer. A possible way is to use the UniqueValueRenderer and specify a color based on an attribute within the layer, for example the region column/field (if you something like that)
You can specify a renderer for your layer. A possible way is to use the UniqueValueRenderer and specify a color based on an attribute within the layer, for example the region column/field (if you something like that)
Thanks a lot! It was quite easy and intuitive (kidding!) :), just instead of SimpleRenderer for Graphics object I had to use UniqueValueRenderer, which binds Attribute from shape file to SimpleFillSymbol. Really, ESRI?! Anyways, whatever it takes, as soon as it works.