ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / MapPointBuilderEx Class / CreateMapPoint Method / CreateMapPoint(Double,Double,Boolean,Double,Boolean,Double,Boolean,Int32,SpatialReference) Method
The X-value.
The Y-value.
If true, the Z-value is set and HasZ is true.
The Z-value which is used only if hasZ is true.
If true, the M-value is set and HasM is true.
The M-value which is used only if hasM is true.
If true, the ID value is set and HasID is true.
The ID-value which is used only if hasId is true.
(Optional) The SpatialReference. The default value is null.

CreateMapPoint(Double,Double,Boolean,Double,Boolean,Double,Boolean,Int32,SpatialReference) Method
Convenience method to create a MapPoint instance with the given X and Y coordinates and other attributes.
Syntax

Parameters

x
The X-value.
y
The Y-value.
hasZ
If true, the Z-value is set and HasZ is true.
z
The Z-value which is used only if hasZ is true.
hasM
If true, the M-value is set and HasM is true.
m
The M-value which is used only if hasM is true.
hasId
If true, the ID value is set and HasID is true.
id
The ID-value which is used only if hasId is true.
spatialReference
(Optional) The SpatialReference. The default value is null.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.8 or higher.
See Also