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


IEnumPointAndDistance.DistanceAlongCurve Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEnumPointAndDistance Interface > IEnumPointAndDistance.DistanceAlongCurve Property
ArcGIS Developer Help

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