AnsweredAssumed Answered

Assign featurelayer transparency based upon the value of a field using arcobjects in arcmap

Question asked by sapaplanus on Mar 7, 2017

In ArcMap, I can create a layer, and assign it a single symbol and then under "Advanced" -> Transparency and assign a field name to be the percentage. I am trying do that in c#.  I have not seen any code samples to do something like this.  I tried by creating a SimpleRenderer, assigned it a SimpleFillSymbol, and then casted the SimpleRenderer as type ITransparencyrenderer and set the transparency field to the data field in the layer.  But, the transparency does not appear.