ArcGIS Pro 2.8 API Reference Guide
GetPyramidLevel Method

ArcGIS.Core.Data.Raster Namespace > RasterStorageDef Class : GetPyramidLevel Method
Gets the number of pyramid levels to be built from this raster storage definition.
Syntax
public int GetPyramidLevel()
Public Function GetPyramidLevel() As Integer

Return Value

An integer representing the number of pyramid levels to be built from this raster storage definition.
Remarks
If you want the geodatabase to build full pyramid levels with appropriate levels, use a value of –1. If you do not want any pyramids to be built, use 0, or you can specify the level you see fit your dataset. By default, the geodatabase builds full pyramid levels.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

RasterStorageDef Class
RasterStorageDef Members