Return Value
The number of pyramid levels in this terrain.
Exception | Description |
---|---|
ArcGIS.Core.Data.Exceptions.GeodatabaseException | A geodatabase-related exception has occurred. |
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run |
var levelCount = terrain.GetPyramidLevelCount(); IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TerrainPyramidLevel> pyramidLevels = terrain.GetPyramidLevels(); foreach (var pyramidLevel in pyramidLevels) { var resolution = pyramidLevel.Resolution; var maxScale = pyramidLevel.MaximumScale; }
Target Platforms: Windows 11, Windows 10