jamesfreddyc

Classified Renderer -- "flip" color ramp options?

Discussion created by jamesfreddyc on Jan 15, 2013
Latest reply on Jan 24, 2013 by jamesfreddyc
I am implementing IRasterClassifyColorRampRenderer using an EqualInterval class breaks and manually setting min/max and number of classes for each raster loaded in an ArcScene document.  All works exactly as expected but I have a request to "flip" the color ramp and I cannot seem to find how to get this done. 

Manually, I would just access the symbology via properties menu, select all of the classes/symbols, right-click and choose "flip colors".

Of note: I am not manipulating the IColorRamp at all, rather I am enumerating thru the StyleGallery and selecting one by name (eg. "Blue-Dark to Cyan-Light").

So, with all this said...  Can I simply issue a .FlipColorRamp somehow???  :)

Prefer VisualBasic but can probably figure out the C# if you have an example.

Thanks,
James

Outcomes