This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IM > IMSegmentation Interface > IMSegmentation.GetDistancesAtM Method (ArcObjects .NET 10.5 SDK) |
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