ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Editing.COGO Namespace / BaseCurveDefinition Class / CalculateChordLength Method

In This Topic
    CalculateChordLength Method
    In This Topic
    Calculates the chord length for the curve.
    Syntax
    Public Function CalculateChordLength() As Double
    public double CalculateChordLength()

    Return Value

    The curve chord length.
    Exceptions
    ExceptionDescription
    The chord length cannot be calculated.
    Remarks
    You should use CanCalculateChordLength prior to calculating the chord length to determine if the curve definition has the appropriate values. The chord length can be calculated if the curve definition contains a Radius and a CentralAngle or a Radius and an ArcLength.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also