ArcGIS Pro 2.7 API Reference Guide
GetLayerSnapModes(Map) Method

ArcGIS.Desktop.Mapping Namespace > Snapping Class > GetLayerSnapModes Method : GetLayerSnapModes(Map) Method
Gets the LayerSnapModes for all layers in a Map.
Syntax
public static Dictionary<Layer,LayerSnapModes> GetLayerSnapModes( 
   Map map
)
Public Overloads Shared Function GetLayerSnapModes( _
   ByVal map As Map _
) As Dictionary(Of Layer,LayerSnapModes)

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 10, Windows 8.1

See Also

Reference

Snapping Class
Snapping Members
Overload List