ArcGIS Pro 3.2 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.

In This Topic
    CreateMapPoint(Coordinate3D,SpatialReference) Method
    In This Topic
    Convenience method to create a MapPoint instance with the given coordinates.
    Syntax
    Public Overloads Shared Function CreateMapPoint( _
       ByVal coordinate3D As Coordinate3D, _
       Optional ByVal spatialReference As SpatialReference _
    ) As MapPoint

    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