ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Map Class / FindElevationSurfaceLayer Method
The URI of the layer. Which is unique identifier for each layer
Example

In This Topic
    FindElevationSurfaceLayer Method
    In This Topic
    Finds an elevation surface layer using a URI.
    Syntax
    public ElevationSurfaceLayer FindElevationSurfaceLayer( 
       string layerURI
    )
    Public Function FindElevationSurfaceLayer( _
       ByVal layerURI As String _
    ) As ElevationSurfaceLayer

    Parameters

    layerURI
    The URI of the layer. Which is unique identifier for each layer

    Return Value

    Example
    Find an elevation surface layer
    var surfaceLayers = map.GetElevationSurfaceLayers();
    var surfaceLayer = surfaceLayers.FirstOrDefault(l => l.Name == "Surface2");
    
    surfaceLayer = map.FindElevationSurfaceLayer(layerUri);
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also