ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SnapResult Class

In This Topic
    SnapResult Class
    In This Topic
    Represents how a vertex has been snapped in the current sketch.
    Object Model
    SnapResult ClassLayer ClassMapPoint Class
    public sealed class SnapResult 
    Public NotInheritable Class SnapResult 
    If the vertex has not snapped, the Layer and SnapLocation are null, SnapType is None and the ObjectID is -1. If the vertex has snapped, the properties contain the snapping information. If the vertex has snapped to the SnapType.Grid, the ObjectID is 0 for a grid intersection, 1 for grid line and 2 for grid inference.
    Inheritance Hierarchy



    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also