ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Editing Namespace / ElevationCapturing Class / QueryElevationSurfaceLayers Method / QueryElevationSurfaceLayers(Map) Method
the map for which elevation surface layers are requested

In This Topic
    QueryElevationSurfaceLayers(Map) Method
    In This Topic
    Obtains the usable elevation surface layers that are stored in the specified map.
    Syntax
    public static IEnumerable<ElevationSurfaceLayer> QueryElevationSurfaceLayers( 
       Map map
    )
    Public Overloads Shared Function QueryElevationSurfaceLayers( _
       ByVal map As Map _
    ) As IEnumerable(Of ElevationSurfaceLayer)

    Parameters

    map
    the map for which elevation surface layers are requested

    Return Value

    A collection of ElevationSurfaceLayer, empty if there are no elevation surface layers in the map
    Exceptions
    ExceptionDescription
    if map is null
    Remarks

    An elevation surface layer is considered usable if it is visible and has at least one elevation source layer.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also