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

ArcGIS.Core.Geometry Namespace > MapPointBuilderEx Class > CreateMapPoint Method : CreateMapPoint(Double,Double,Boolean,Double,Boolean,Double,Boolean,Int32,SpatialReference) Method
The X-value.
The Y-value.
If true, the z-value is set and HasZ is true.
The z-value which is used only if hasZ is true.
If true, the m-value is set and HasM is true.
The m-value which is used only if hasM is true.
If true, the ID value is set and HasID is true.
The id-value which is used only if hasId is true.
(Optional) The SpatialReference. The default value is null.
Convenience method to quickly create a MapPoint instance.
Syntax
Public Overloads Shared Function CreateMapPoint( _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal hasZ As Boolean, _
   ByVal z As Double, _
   ByVal hasM As Boolean, _
   ByVal m As Double, _
   ByVal hasId As Boolean, _
   ByVal id As Integer, _
   Optional ByVal spatialReference As SpatialReference _
) As MapPoint

Parameters

x
The X-value.
y
The Y-value.
hasZ
If true, the z-value is set and HasZ is true.
z
The z-value which is used only if hasZ is true.
hasM
If true, the m-value is set and HasM is true.
m
The m-value which is used only if hasM is true.
hasId
If true, the ID value is set and HasID is true.
id
The id-value which is used only if hasId is true.
spatialReference
(Optional) The SpatialReference. The default value is null.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapPointBuilderEx Class
MapPointBuilderEx Members
Overload List