ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ElevationLayerCreationParams Class / CanCreateElevationSourceLayerFor Method / CanCreateElevationSourceLayerFor(Uri,ElevationSurfaceLayer) Method

    CanCreateElevationSourceLayerFor(Uri,ElevationSurfaceLayer) Method
    Check if an elevation source layer can be created and added to a given surface based on a given URI.
    Syntax
    public static bool CanCreateElevationSourceLayerFor( 
       Uri elevationSourceUri,
       ElevationSurfaceLayer surfaceLayer
    )

    Parameters

    elevationSourceUri
    surfaceLayer
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    ArcGIS Pro version: 3.0 or higher.
    See Also