Public Function GetPyramidLevels() As IReadOnlyList(Of TerrainPyramidLevel)
public IReadOnlyList<TerrainPyramidLevel> GetPyramidLevels()
Return Value
An IReadOnlyList of TerrainPyramidLevel.
Public Function GetPyramidLevels() As IReadOnlyList(Of TerrainPyramidLevel)
public IReadOnlyList<TerrainPyramidLevel> GetPyramidLevels()
| 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 = terrainDataset.GetPyramidLevelCount();
IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TerrainPyramidLevel> pyramidLevels = terrainDataset.GetPyramidLevels();
foreach (var pyramidLevel in pyramidLevels)
{
var resolution = pyramidLevel.Resolution;
var maxScale = pyramidLevel.MaximumScale;
}
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)