ArcObjects Library Reference (GeoDatabase)  

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(
  double positionAlongElement,
  double* PositionAlongObject
);
[C++]

Parameters

positionAlongElement [in]   positionAlongElement is a parameter of type double PositionAlongObject [out, retval]   PositionAlongObject is a parameter of type double

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