ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TerrainDataSource Class / SurfaceType Property
Example

In This Topic
    SurfaceType Property (TerrainDataSource)
    In This Topic
    Gets the surface type. This defines how the geometry is incorporated into the triangulation for the surface.
    Syntax
    Public ReadOnly Property SurfaceType As TinSurfaceType
    public TinSurfaceType SurfaceType {get;}
    Example
    Get datasources from a Terrain
    {
      var dsCount = terrainDataset.GetDataSourceCount();
      IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TerrainDataSource> dataSources = terrainDataset.GetDataSources();
      foreach (var ds in dataSources)
      {
        var dsName = ds.DataSourceName;
        var surfaceType = ds.SurfaceType;
        var maxResolution = ds.MaximumResolution;
        var minResolution = ds.MinimumResolution;
      }
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.2 or higher.
    See Also