I have raster layer added to map. I need to change its raster on current extent change. So I take Raster, set its RasterProps (width, height, extent) and write PixelBlock. And after that I expect raster layer updated showing new raster.
But instead exception thrown on RasterEdit.Write. How can I update raster of raster layer to completely replace old raster data including numbers of columns and rows?