ArcGIS Pro 2.6 API Reference Guide
GetPointsAtM Method (IGeometryEngine)
Example 

ArcGIS.Core.Geometry Namespace > IGeometryEngine Interface : GetPointsAtM Method
The multipart from which the locations will be extracted.
The M value to locate.
The lateral offset of the output points.
Gets a multipoint corresponding to the locations along the multipart where the specified M value occurs. Coordinates/measures are interpolated when appropriate.
Syntax
Function GetPointsAtM( _
   ByVal multipart As Multipart, _
   ByVal m As Double, _
   ByVal offset As Double _
) As Multipoint

Parameters

multipart
The multipart from which the locations will be extracted.
m
The M value to locate.
offset
The lateral offset of the output points.

Return Value

Multipoint representing the locations found.
Exceptions
ExceptionDescription
Multipart is null or empty.
This geometry is not M-Aware.
Spatial reference of multipartis an image coordinate system.
Example
string json = "{\"hasM\":true,\"paths\":[[[-3000,-2000,10],[-2000,-2000,15],[-1000,-2000,20],[0,-2000,0],[1000,-2000,20],[2000,-2000,30],[3000,-2000,10],[4000,-2000,5]]],\"spatialReference\":{\"wkid\":3857}}";
Polyline polyline = PolylineBuilder.FromJson(json);

Multipoint multipoint = GeometryEngine.Instance.GetPointsAtM(polyline, 10, 500);
// multiPoint.PointCount = 4
// multipoint.Points[0]  X= -3000, Y= -2500  M= 10
// multipoint.Points[1]  X= -500, Y= -2500  M= 10
// multipoint.Points[2]  X= 500, Y= -2500  M= 10
// multipoint.Points[3]  X= 3000, Y= -2500  M= 10
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

IGeometryEngine Interface
IGeometryEngine Members