I am trying to apply some existing VBA code that works for a Raster on a RasterCatalogLayer. The existing code sets up a new renderer and classifies it with a specific minimum and maximum value for the renderer, which is done by way of IRasterStatistics. For example,
Can someone show and example of how to perform the above on an IRasterCatalogLayer? That is, we have moved all of the standalone rasters into a new RasterCatalog and now tasked with generating the required renderer.
Thanks!
Code:
Dim pStats As IRasterStatistics
Set pStats = pRasBand.Statistics
pStats.Minimum = d_dMin
pStats.Maximum = d_dMax
Thanks!