ArcGIS Pro 2.9 API Reference Guide
FromEsriShape Method (MapPointBuilder)

ArcGIS.Core.Geometry Namespace > MapPointBuilder Class : FromEsriShape Method
Esri shape buffer representation of a MapPoint.
The spatial reference of the MapPoint
Creates a MapPoint from an Esri shape buffer.
Syntax
public new static MapPoint FromEsriShape( 
   byte[] esriShapeBuffer,
   SpatialReference spatialReference
)
Public Shared Shadows Function FromEsriShape( _
   ByVal esriShapeBuffer() As Byte, _
   Optional ByVal spatialReference As SpatialReference _
) As MapPoint

Parameters

esriShapeBuffer
Esri shape buffer representation of a MapPoint.
spatialReference
The spatial reference of the MapPoint

Return Value

Exceptions
ExceptionDescription
The esriShapeBuffer is empty or null.
Esri shape buffer is invalid or does not represent a MapPoint.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

MapPointBuilder Class
MapPointBuilder Members