ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / ProximityResult Class / SegmentIndex Property

In This Topic
    SegmentIndex Property
    In This Topic
    Gets the segment index of the segment containing the nearest point. The segment index is relative to the part index. For example, if PartIndex = 2 and SegmentIndex = 0, it means segment 0 in part 2. Only relevant if calling GeometryEngine.NearestPoint, otherwise segment index is null.
    Syntax
    public Nullable<int> SegmentIndex {get;}
    Public ReadOnly Property SegmentIndex As Nullable(Of Integer)
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also