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


IEnumPointAndDistance.DistanceAlongCurve Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

IEnumPointAndDistance.DistanceAlongCurve Property

Gives the distance along the curve from the curve's from point to the current postion.

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

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

Product Availability

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

Description

DistanceAlongCurve indicates the distance between the fromPoint and the current point on the enumerator. That distance can be either a real distance or a ratio varying between 0 and 1.

See Also

IEnumPointAndDistance Interface