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.

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

    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