ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Geometry Namespace / MultipointBuilderEx Class / SetPoint Method / SetPoint(Int32,Double,Double) Method
The index of the point to modify. Must be in the range [0, Coordinate2Ds.Count - 1] inclusive.
The X-value to set.
The Y-value to set.

In This Topic
    SetPoint(Int32,Double,Double) Method
    In This Topic
    Update the point at the specified index with the specified coordinates.
    Syntax
    public void SetPoint( 
       int index,
       double x,
       double y
    )
    Public Overloads Sub SetPoint( _
       ByVal index As Integer, _
       ByVal x As Double, _
       ByVal y As Double _
    ) 

    Parameters

    index
    The index of the point to modify. Must be in the range [0, Coordinate2Ds.Count - 1] inclusive.
    x
    The X-value to set.
    y
    The Y-value to set.
    Exceptions
    ExceptionDescription
    The point index is < 0 or the point index is >= Coordinate2Ds.Count.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also