ArcGIS Pro 2.8 API Reference Guide
IsCurve Property (CubicBezierSegment)
Example 

ArcGIS.Core.Geometry Namespace > CubicBezierSegment Class : IsCurve Property
Gets whether this cubic bezier is a curve.
Syntax
public override bool IsCurve {get;}
Public Overrides NotOverridable ReadOnly Property IsCurve As Boolean
Example
// retrieve the bezier curve's control points
CubicBezierSegment cb = CubicBezierBuilder.CreateCubicBezierSegment(bezierSegment);
MapPoint startPt = cb.StartPoint;
Coordinate2D ctrlPt1 = cb.ControlPoint1;
Coordinate2D ctrlPt2 = cb.ControlPoint2;
MapPoint endPt = cb.EndPoint;

bool isCurve = cb.IsCurve;
double len = cb.Length;
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

CubicBezierSegment Class
CubicBezierSegment Members