NoData will not work for a value of 0 in my v10 MapControl.

Discussion created by Knoche on May 20, 2011
Hello -

I have a MapControl that is displaying a raster.  When I set the NoData

IRasterProps pProps = (IRasterProps)pRaster;
                    pProps.NoDataValue = 0;

The 0 value is just set the lowest color on the color ramp.  If i set it to another value then it does make that pixel value transparent.

Also, I should note that this code worked fine in version 9.2