I have some working code where I create a raster from a raster dataset, using the following code:Dim pRLayer As IRasterLayer
pRLayer = New RasterLayer
pRLayer.Name = "Logo"
pRLayer.CreateFromDataset(pRDataset)
This code works fine. But I would now like to change the resampling method to BilinearInterpolation. I tried the following, but this didn't workpRLayer.Raster.ResampleMethod = rstResamplingTypes.RSP_BilinearInterpolation
Does anyone know how to change the resampling method given a raster layer?Thanks.