This document is archived and information here might be outdated.  Recommended version.

ICurve.Length Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IC > ICurve Interface > ICurve.Length Property
ArcGIS Developer Help

ICurve.Length Property

The length of the curve.

[Visual Basic .NET]
Public ReadOnly Property Length As Double
public double Length {get;}
HRESULT get_Length(
  System.Double* Length
Length [out, retval]

Length is a parameter of type double*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Returns the 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. 

See Also

ICurve Interface

.NET Samples

Move a graphic along a path in ArcMap Tabbed feature inspector Points along line construction tool Tabbed feature inspector