ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Snapping Class / GetLayerSnapModes Method / GetLayerSnapModes(Map) Method
Version

GetLayerSnapModes(Map) Method
Gets the LayerSnapModes for all layers in a Map.
Syntax
public static Dictionary<Layer,LayerSnapModes> GetLayerSnapModes( 
   Map map
)

Parameters

map

Return Value

A dictionary of LayerSnapModes keyed by Layer.
Remarks
All layers that can be snapped to are included.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also