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

640
0
03-07-2017 04:03 PM
StevenPaplanus
New Contributor III

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.

0 Kudos
0 Replies