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

CanCreateElevationSourceLayerFor(Item,ElevationSurfaceLayer) Method
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
)

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