Render using color ramp


Purpose
This sample shows how to use the Symbology control to preview available color ramps, then apply a color ramp to the vector data in the map.

How to use

See How to use ArcGIS samples for help on running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Run the RenderUsingColorRamp application.
  2. Right-click the layer, then select a color ramp. The color ramp is applied to the layer.


Download the files for Java
symbologybean/RenderUsingColorRamp.java Main class




Development licensing Deployment licensing
Engine Developer Kit Engine Runtime
ArcView
ArcEditor
ArcInfo