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

Move a graphic along a path in ArcMap (Code Files: AnimationUtils) | Points along line construction tool (Code Files: PointsAlongLineForm) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: Route_GISClientClass) | Tabbed feature inspector (Code Files: ObjectInspector TabbedInspector) |

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