AnsweredAssumed Answered

determine which renderer is set on a raster layer in ArcObjects

Question asked by karsten@terragis.net on Nov 4, 2014
Latest reply on Nov 7, 2014 by Hornbydd

I am trying to use ArcObjects (Visual Basic) to loop through the map layers in an ArcGIS desktop *.mxd document and read the renderers that are attached to the existing layers (want to use Raster layers). Can anyone tell me how to read (not set ) the property of a layer (or data set) which renderer is attached to it currently ? I found tons of examples how to set a renderer it but I need instead to read what is set already. The next step I need to get the b colors for the classes in the renderer. If anyone has a code example (no matter which programming language that would be terrific

Thanks Karsten

Outcomes