ArcGIS Pro 2.6 API Reference Guide
CreateMapPoint(Double,Double,Double,Double,Int32,SpatialReference) Method

ArcGIS.Core.Geometry Namespace > MapPointBuilder Class > CreateMapPoint Method : CreateMapPoint(Double,Double,Double,Double,Int32,SpatialReference) Method
X coordinate.
Y coordinate.
Z coordinate. HasZ is set to true.
Measure value. HasM is set to true.
ID value. HasID is set to true.
(Optional) The SpatialReference. The default value is null.
Convenience method to quickly create a MapPoint instance. The HasZ and HasM properties on this instance are set to true with this method.
Syntax
public static MapPoint CreateMapPoint( 
   double x,
   double y,
   double z,
   double m,
   int id,
   SpatialReference spatialReference
)
Public Overloads Shared Function CreateMapPoint( _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal z As Double, _
   ByVal m As Double, _
   ByVal id As Integer, _
   Optional ByVal spatialReference As SpatialReference _
) As MapPoint

Parameters

x
X coordinate.
y
Y coordinate.
z
Z coordinate. HasZ is set to true.
m
Measure value. HasM is set to true.
id
ID value. HasID is set to true.
spatialReference
(Optional) The SpatialReference. The default value is null.

Return Value

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MapPointBuilder Class
MapPointBuilder Members
Overload List