Would like to check how to set number format in CIMRasterClassifyColorizer object.
Below is the code I am using and it does not seem to be working. Uma Harano?
CIMRasterClassifyColorizer newColorizer = await this.SelectedRasterLayer.CreateColorizerAsync(classifyColorizerDef) as CIMRasterClassifyColorizer;
var numberFormat = new CIMNumericFormat();
numberFormat.RoundingOption = esriRoundingOptionEnum.esriRoundNumberOfDecimals;
numberFormat.RoundingValue = this.DecimalPlaces; //int 1 or above
newColorizer.NumberFormat = numberFormat;
When I check in Advance symbol option, it seems to be effective. but the labelling does not follow at all.
ArcGIS pro version I am using is 2.5.0.