ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / MapPointBuilderEx Class / CreateMapPoint Method / CreateMapPoint(MapPointBuilderEx,SpatialReference) Method
The MapPointBuilderEx to copy.
(Optional) The SpatialReference. The default value is null. If the input spatial reference is null, then the spatial reference from the input builder is used.

In This Topic
    CreateMapPoint(MapPointBuilderEx,SpatialReference) Method
    In This Topic
    Convenience method to create a MapPoint instance from a MapPointBuilderEx class.
    Syntax
    Public Overloads Shared Function CreateMapPoint( _
       ByVal mapPointBuilderEx As MapPointBuilderEx, _
       Optional ByVal spatialReference As SpatialReference _
    ) As MapPoint

    Parameters

    mapPointBuilderEx
    The MapPointBuilderEx to copy.
    spatialReference
    (Optional) The SpatialReference. The default value is null. If the input spatial reference is null, then the spatial reference from the input builder is used.

    Return Value

    Exceptions
    ExceptionDescription
    mapPointBuilderEx is null.
    Remarks
    The properties of the mapPointBuilderEx are used to create the MapPoint.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also