Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to use the company I work for's color scheme in the maps that I am making. I have all the RGB values for the colors, but there are only 10 different shades of each color, while the style manager's ramps need 12 shades. Is there any way to change the number of colors in each color ramp?

share|improve this question

According to the arcobjects documentation it looks like you're stuck with 13 colors ...

IPresetColorRamp is designed to exactly mimic the behavior of ArcView 3.x's color ramps. Thus, it contains exactly 13 colors in a sequence that is defined by the order the colors are defined.

However, looking at the COM categories, it would appear that you might be able to roll your own colorramp, by implementing IColorRamp and the others that the PresetColorRamp coclass implements. You'd also need to write a propertypage class that implements the same interfaces as the PresetColorRampPropertyPage coclass.

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.