ArcGIS Pro 2.7 API Reference Guide
CreateMapPoint(Coordinate2D,SpatialReference) Method

ArcGIS.Core.Geometry Namespace > MapPointBuilder Class > CreateMapPoint Method : CreateMapPoint(Coordinate2D,SpatialReference) Method
Specifies the X and Y coordinate of the MapPoint.
(Optional) The SpatialReference. The default value is null.
Convenience method to quickly create a MapPoint instance.
Syntax
Public Overloads Shared Function CreateMapPoint( _
   ByVal coordinate2D As Coordinate2D, _
   Optional ByVal spatialReference As SpatialReference _
) As MapPoint

Parameters

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

Return Value

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapPointBuilder Class
MapPointBuilder Members
Overload List