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

In This Topic
    CanCreateElevationSourceLayerFor(Item,ElevationSurfaceLayer) Method
    In This Topic
    Check if an elevation source layer can be created and added to a given surface based on a given item.
    Syntax
    public static bool CanCreateElevationSourceLayerFor( 
       Item sourceLayerItem,
       ElevationSurfaceLayer surfaceLayer
    )
    Public Overloads Shared Function CanCreateElevationSourceLayerFor( _
       ByVal sourceLayerItem As Item, _
       ByVal surfaceLayer As ElevationSurfaceLayer _
    ) As Boolean

    Parameters

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

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also