ArcGIS中常用到栅格数据的颜色渲染,以及相应级别的label的显示
private void RasterView(IRasterLayer RasterLayer, double BreakPoint1, double BreakPoint2, double BreakPoint3, double BreakPoint4, double BreakPoint5)
{
IRasterClassifyColorRampRenderer ClassifyColor = new RasterClassifyColorRampRendererClass();
IRasterRenderer RasterRender = ClassifyColor as IRasterRenderer;
RasterRender.Raster = RasterLayer.Raster;
RasterRender.Update();
//断点设置
ClassifyColor.ClassCount = 6;
ClassifyColor.set_Break(0, -1);
ClassifyColor.set_Break(1, BreakPoint1);
ClassifyColor.set_Break(2, BreakPoint2);
ClassifyColor.set_Break(3, BreakPoint3);
ClassifyColor.set_Break(4, BreakPoint4);
ClassifyColor.set_Break(5, BreakPoint5);
ClassifyColor.set_Break(6, 1);
//各个分类的颜色设置
IFillSymbol Symb