ArcGIS Pro 2.6 API Reference Guide
MapPointBuilder Constructor(Double,Double,SpatialReference)

ArcGIS.Core.Geometry Namespace > MapPointBuilder Class > MapPointBuilder Constructor : MapPointBuilder Constructor(Double,Double,SpatialReference)
X coordinate.
Y coordinate.
(Optional) The SpatialReference. The default value is null.
Initializes a new instance of the MapPointBuilder class. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public MapPointBuilder( 
   double x,
   double y,
   SpatialReference spatialReference
)
Public Function New( _
   ByVal x As Double, _
   ByVal y As Double, _
   Optional ByVal spatialReference As SpatialReference _
)

Parameters

x
X coordinate.
y
Y coordinate.
spatialReference
(Optional) The SpatialReference. The default value is null.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
The resulting MapPointBuilder attribute properties will be HasZ = false, HasM = false, HasID = false.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MapPointBuilder Class
MapPointBuilder Members
Overload List