ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Snapping Class
Members

In This Topic
    Snapping Class
    In This Topic
    Provides access to the snapping environment within a Map.
    Object Model
    Snapping ClassLayerSnapModes ClassSnappingOptions Class
    Syntax
    public sealed class Snapping 
    Public NotInheritable Class Snapping 
    Remarks

    Changing the IsEnabled property has immediate effect, and saved into user preferences, and applies to both Maps and Layouts.

    Changing the snapping modes, via SetSnapMode or SetSnapModes also has immediate effect, applied to all project MapViews, and saved into user preferences.

    You can obtain a copy of the SnappingOptions for a particular Map using GetOptions. Changes made to the resulting SnappingOptions object, are not immediately made to the system until the copy is committed to the project using SetOptions.

    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Mapping.Snapping

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also