delete Pyramids
Deletes pyramids stored in a pyramid file (.ovr) for the owning raster. This method deletes pyramids associated with the owning raster's external pyramid file (.ovr). It does not delete pyramids embedded in the source raster file.
Call this method only when RasterPyramids.pyramidInfo is not null, RasterPyramidInfo.isEmbedded is false, and RasterPyramids.activeBuildOperation is null.
When this method completes successfully, RasterPyramids.pyramidInfo is refreshed and may become null.
This method is supported only for file-based rasters that can use a pyramid file (.ovr).
Since
300.1.0
Throws
Throws an ArcGISException error if the pyramid file cannot be deleted or if the raster location cannot be written to.
Throws an IllegalStateException error if no deletable external pyramid file (.ovr) exists, if a pyramid build request is in progress for the raster, or the raster is closed.