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


ICurve.Length Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

ICurve.Length Property

The length of the curve.

[Visual Basic .NET]
Public ReadOnly Property Length As Double
[C#]
public double Length {get;}
[C++]
HRESULT get_Length(
  double* Length
);
[C++]

Parameters Length [out, retval] Length is a parameter of type double

Product Availability

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

Description

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

Points along line construction tool (Code Files: PointsAlongLineForm) | Tabbed feature inspector (Code Files: TabbedInspector) | Move a graphic along a path in ArcMap (Code Files: AnimationUtils) | Tabbed feature inspector (Code Files: ObjectInspector)

.NET Related Topics

How to create a multipart polyline | How to use some basic properties and methods on ICircularArc | How to use the ICurve methods | How to work with ICurve methods