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


INetworkEdge.PositionAlongObject Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkEdge Interface > INetworkEdge.PositionAlongObject Property
ArcGIS Developer Help

INetworkEdge.PositionAlongObject Property

Position along the source object at which the specified position along the network edge element lies.

[Visual Basic .NET]
Public Function get_PositionAlongObject ( _
    ByVal positionAlongElement As Double _
) As Double
[C#]
public double get_PositionAlongObject (
    double positionAlongElement
);
[C++]
HRESULT get_PositionAlongObject(
void
);

Product Availability

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

Remarks

The PositionAlongObject property determines, from the given positional value along the edge element, the corresponding positional value along the object from which this edge element was created.  The positionAlongElement parameter and the PositionAlongObject value both range from 0.0 to 1.0.

For example, if the fromPosition and toPosition values from the QueryPositions method is 0.1 and 0.6 respectively, then the PositionAlongObject value for the positionAlongElement = 0.7 is equal to 70% of the way between 0.1 and 0.6, which is 0.45.

See Also

INetworkEdge Interface