RestLayerProperties(); imgLayer.BandIds = new int[] {0,1,2,3}; IDictionary<string, object> functionArguments = new Dictionary<string, object>(); functionArguments.Add("StretchType", iStretchType); functionArguments.Add("NumberOfStandardDeviations", numberOfStandardDeviations); functionArguments.Add("Statistics", statistics); functionArguments.Add("Gamma", gamma); imgLayer.RenderingRule = new RenderingRule() { RasterFunctionName = "Stretch", RasterFunctionArguments = functionArguments, VariableName = "Raster" }; imgLayer.Refresh();
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.