Method DeletePyramids
DeletePyramids()
Deletes pyramids stored in a pyramid file (.ovr) for the owning raster.
Declaration
public void DeletePyramids()
Remarks
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 PyramidInfo is not null,
IsEmbedded is false, and ActiveBuildOperation is
null.
When this method completes successfully, PyramidInfo is refreshed and may become
null.
This method is supported only for file-based rasters that can use a pyramid file (.ovr).
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | No deletable external pyramid file (.ovr) exists, or a pyramid build request is in progress for the raster. |
| IOException | The pyramid file cannot be deleted, or the raster location cannot be written to. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300.1 |
| .NET Windows | 300.1 |
| .NET Android | 300.1 |
| .NET iOS | 300.1 |