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

QueryElevationSurfaceLayers(Map) Method
Obtains the usable elevation surface layers that are stored in the specified map.
Syntax
public static IEnumerable<ElevationSurfaceLayer> QueryElevationSurfaceLayers( 
   Map map
)

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, Windows 8.1

ArcGIS Pro version: 3.0 or higher.
See Also