ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / MapPointBuilderEx Class / CreateMapPoint Method / CreateMapPoint(Coordinate2D,SpatialReference) Method
Specifies the X and Y coordinates of the MapPoint.
(Optional) The SpatialReference. The default value is null.
Version

CreateMapPoint(Coordinate2D,SpatialReference) Method
Convenience method to create a MapPoint instance with the given coordinates.
Syntax

Parameters

coordinate2D
Specifies the X and Y coordinates of the MapPoint.
spatialReference
(Optional) The SpatialReference. The default value is null.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also