ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TerrainDataSource Class
Members Example

In This Topic
    TerrainDataSource Class
    In This Topic
    Represents a terrain datasource. See GetDataSources.
    Syntax
    public sealed class TerrainDataSource 
    Public NotInheritable Class TerrainDataSource 
    Example
    Get datasources from a Terrain
    var dsCount = terrain.GetDataSourceCount();
    IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TerrainDataSource> dataSources = terrain.GetDataSources();
    foreach (var ds in dataSources)
    {
      var dsName = ds.DataSourceName;
      var surfaceType = ds.SurfaceType;
      var maxResolution = ds.MaximumResolution;
      var minResolution = ds.MinimumResolution;
    }
    
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.Data.Analyst3D.TerrainDataSource

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also