ArcGIS Pro 2.6 API Reference Guide
EndPoint Property (CubicBezierBuilder)
Example 

ArcGIS.Core.Geometry Namespace > CubicBezierBuilder Class : EndPoint Property
Gets or sets the end point of the CubicBezier segment.
Syntax
public MapPoint EndPoint {get; set;}
Public Property EndPoint As MapPoint

Property Value

MapPoint representing the end point.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Setting the end point with a null object.
Example
// Builder constructors need to run on the MCT.
ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run(() =>
{
  // retrieve the bezier curve's control points
  using (CubicBezierBuilder cbb = new CubicBezierBuilder(bezierSegment))
  {
    MapPoint startPt = cbb.StartPoint;
    Coordinate2D ctrlPt1 = cbb.ControlPoint1;
    Coordinate2D ctrlPt2 = cbb.ControlPoint2;
    MapPoint endPt = cbb.EndPoint;

    // or use the QueryCoords method
    cbb.QueryCoords(out startPt, out ctrlPt1, out ctrlPt2, out endPt);
  }
});
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

CubicBezierBuilder Class
CubicBezierBuilder Members