Grieck

How to add a value to a unique value renderer programatically?

Discussion created by Grieck on Sep 26, 2011
Latest reply on Apr 21, 2013 by naima.hossain
Hello,

Does anyone have some sample code or can point me to the ArcObjects needed for adding a new value to a unique value renderer?

I have a layer displaying with a categorized unique value and I would like to programmatically add new values to the list as they are created. I'd like the new values to use a random color from the same color ramp being used by the existing list of unique values.

G

Outcomes