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

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

Parameters

coordinate3D
Specifies the X, Y, and Z coordinates of the MapPoint.
spatialReference
(Optional) The SpatialReference. The default value is null.

Return Value

Remarks
The Z-value is set, and the HasZ property is set to true.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also