ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / MapPointBuilderEx Class / CreateMapPoint Method / CreateMapPoint(Double,Double,Double,Double,Int32,SpatialReference) Method
X coordinate.
Y coordinate.
Z coordinate. HasZ is set to true.
Measure value. HasM is set to true.
ID value. HasID is set to true.
(Optional) The SpatialReference. The default value is null.
Version

CreateMapPoint(Double,Double,Double,Double,Int32,SpatialReference) Method
Convenience method to create a MapPoint instance with the given X, Y, Z, M and ID coordinates. The HasZ, HasM and HasID properties on this instance are set to true.
Syntax
public static MapPoint CreateMapPoint( 
   double x,
   double y,
   double z,
   double m,
   int id,
   SpatialReference spatialReference
)

Parameters

x
X coordinate.
y
Y coordinate.
z
Z coordinate. HasZ is set to true.
m
Measure value. HasM is set to true.
id
ID value. HasID is set to true.
spatialReference
(Optional) The SpatialReference. The default value is null.

Return Value

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also