The length of the curve.
[Visual Basic .NET] Public ReadOnly Property Length3D As Double
[C#] public double Length3D {get;}
[C++]
HRESULT get_Length3D(
double* pLength
);
[C++]Parameters
pLength [out, retval] pLength is a parameter of type double
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
Returns the 3D length of the entire curve. The length of
the curve is the sum of the lengths along each parameterized
Segment between vertices along the curve.
[C#]
public static void GetLength3D()
{
IGeometry polylineGeometry = GetPolylineGeometry();
ICurve3D curve3D
= polylineGeometry as
ICurve3D;
double length3D =
curve3D.Length3D;
//length3D
= 60.761
}