ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / CubicBezierBuilderEx Class / ControlPoint1 Property
Example

In This Topic
    ControlPoint1 Property (CubicBezierBuilderEx)
    In This Topic
    Gets or sets control point 1.
    Syntax
    public Coordinate2D ControlPoint1 {get; set;}
    Public Property ControlPoint1 As Coordinate2D
    Exceptions
    ExceptionDescription
    Setting the control point with an empty object.
    Example
    Cubic Bezier Builder Properties
    // retrieve the bezier curve's control points
    
    CubicBezierBuilderEx cbbEx = new CubicBezierBuilderEx(bezierSegment);
    MapPoint startPtEx = cbbEx.StartPoint;
    Coordinate2D ctrlPt1Ex = cbbEx.ControlPoint1;
    Coordinate2D ctrlPt2Ex = cbbEx.ControlPoint2;
    MapPoint endPtEx = cbbEx.EndPoint;
         
    // or use the QueryCoords method
    cbbEx.QueryCoords(out startPtEx, out ctrlPt1Ex, out ctrlPt2Ex, out endPtEx);
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also