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

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
    Syntax
    public sealed class SnapResult 
    Public NotInheritable Class SnapResult 
    Remarks
    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

    System.Object
       ArcGIS.Desktop.Mapping.SnapResult

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also