ArcGIS Pro 2.7 API Reference Guide
CubicBezierBuilder Constructor(CubicBezierSegment)
Example 

ArcGIS.Core.Geometry Namespace > CubicBezierBuilder Class > CubicBezierBuilder Constructor : CubicBezierBuilder Constructor(CubicBezierSegment)
The cubic bezier whose control points will be used to construct the CubicBezierBuilder.
Creates a new instance of the CubicBezierBuilder class from another cubic bezier segment. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public CubicBezierBuilder( 
   CubicBezierSegment cubicBezier
)
Public Function New( _
   ByVal cubicBezier As CubicBezierSegment _
)

Parameters

cubicBezier
The cubic bezier whose control points will be used to construct the CubicBezierBuilder.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
cubicBezier is null.
An operation on an empty geometry was attempted. cubicBezier is empty.
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

See Also

Reference

CubicBezierBuilder Class
CubicBezierBuilder Members
Overload List