ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Editing Namespace / ElevationCapturing Class / QueryElevationSurfaceLayers Method / QueryElevationSurfaceLayers() Method

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

    Return Value

    A collection of ElevationSurfaceLayer, empty if there are no elevation surface layers in the currently edited map
    Exceptions
    ExceptionDescription
    if there is no currently edited map
    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.0 or higher.
    See Also