ArcGIS Pro 3.2 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 TinSurfaceType SurfaceType {get;}
    Public ReadOnly Property SurfaceType As TinSurfaceType
    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;
    }
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also