shepa006

How to Set Raster Symbology in Runtime for WPF

Discussion created by shepa006 on Feb 25, 2014
Latest reply on May 28, 2014 by MBranscomb-esristaff
I have a geoprocessing package that is generating a raster. When that completes I need to be able to load it into the map in the ArcGIS Runtime WPF application and set the symbology. From what I've seen this isn't exposed as an option but I'm really hoping that I missed something. All I want to do is set the raster to use Stretched and change the Color Ramp, I don't want to mess with the statistics of the raster just apply the color ramp.

Is there a way to create stretched color ramp renderer and apply it to a raster layer? I was looking at the SDK Sample 'Add Shapefiles and Rasters' but the sample only applies symbology to the vector data and defaults to black-to-white for the rasters.

Outcomes