ArcGIS Pro 2.6 API Reference Guide
ToMapPoint Method (Coordinate2D)

ArcGIS.Core.Geometry Namespace > Coordinate2D Structure : ToMapPoint Method
(Optional) The SpatialReference. Default value is null.
Convert the Coordinate2D into a MapPoint.
Syntax
public MapPoint ToMapPoint( 
   SpatialReference sr
)
Public Function ToMapPoint( _
   Optional ByVal sr As SpatialReference _
) As MapPoint

Parameters

sr
(Optional) The SpatialReference. Default value is null.

Return Value

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Coordinate2D Structure
Coordinate2D Members