ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Editing Namespace / ElevationCapturing Class / HasSurfaces Property

In This Topic
    HasSurfaces Property
    In This Topic
    Gets whether the current Map has any usable elevation surface layers
    Syntax
    public static bool HasSurfaces {get;}
    Public Shared ReadOnly Property HasSurfaces As Boolean
    Remarks

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

    If there are no usable elevation surfaces in the map, then it is not possible to set the CaptureMode to ElevationCaptureMode.Surface

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also