ArcGIS Pro 2.7 API Reference Guide
SetCoords Method (CubicBezierBuilder)

ArcGIS.Core.Geometry Namespace > CubicBezierBuilder Class : SetCoords Method
The start point.
Control point 1 of the cubic bezier.
Control point 2 of the cubic bezier.
The end point.
Sets this CubicBezier curve's control points to be the startPt, controlPt1, controlPt2, and endPt. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
Public Sub SetCoords( _
   ByVal startPt As MapPoint, _
   ByVal controlPt1 As Coordinate2D, _
   ByVal controlPt2 As Coordinate2D, _
   ByVal endPt As MapPoint _
) 

Parameters

startPt
The start point.
controlPt1
Control point 1 of the cubic bezier.
controlPt2
Control point 2 of the cubic bezier.
endPt
The end point.
Exceptions
ExceptionDescription
Incompatible spatial references.
This method or property must be called within the lambda passed to QueuedTask.Run.
startPt or endPt is null.
An operation on an empty geometry was attempted. startPt or controlPt1 or controlPt2 or endPt is empty.
Remarks
The SetCoords method sets the Start Point and End Point for a line object. If the Start Point and End Point are identical, it creates a zero Length line with the same Start and End point.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

CubicBezierBuilder Class
CubicBezierBuilder Members