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


IMSegmentation3.QueryFirstLastM Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IM > IMSegmentation3 Interface > IMSegmentation3.QueryFirstLastM Method
ArcGIS Developer Help

IMSegmentation3.QueryFirstLastM Method

Returns the first and last defined M value for the curve.

[Visual Basic .NET]
Public Sub QueryFirstLastM ( _
    ByRef firstM As Double, _
    ByRef lastM As Double _
)
[C#]
public void QueryFirstLastM (
    ref double firstM,
    ref double lastM
);
[C++]
HRESULT QueryFirstLastM(
  System.Double* firstM,
  System.Double* lastM
);
[C++]
Parameters
firstM [out]

firstM is a parameter of type double* lastM [out]
lastM is a parameter of type double*

Product Availability

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

Description

QueryFirstLastM returns the first and the last Non-NAN Ms on the polyline. If all the vertex attributes are NANs then NANs are returned.

Remarks

Note : NAN stands for Not A Number.

See Also

IMSegmentation3 Interface