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


IMSegmentation.GetDistancesAtM Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IMSegmentation.GetDistancesAtM Method

Returns an array of distances along the polyline at which is located the specified M. If the geometry's M's are monotonic along the geometry then the array will only have one element.

[Visual Basic .NET]
Public Function GetDistancesAtM ( _
    ByVal asRatio As Boolean, _
    ByVal M As Double _
) As Object
[C#]
public object GetDistancesAtM (
    bool asRatio,
    double M
);
[C++]
HRESULT GetDistancesAtM(
  VARIANT_BOOL asRatio,
  double M,
  VARIANT* distances
);
[C++]

Parameters asRatio asRatio is a parameter of type VARIANT_BOOL M M is a parameter of type double distances [out, retval] distances is a parameter of type VARIANT

Product Availability

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

See Also

IMSegmentation Interface