ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / MapPointBuilderEx Class / FromEsriShape Method
Esri shape buffer representation of a MapPoint.
The spatial reference of the MapPoint
Version

FromEsriShape Method (MapPointBuilderEx)
Creates a MapPoint from an Esri shape buffer.
Syntax
public static MapPoint FromEsriShape( 
   byte[] esriShapeBuffer,
   SpatialReference spatialReference
)

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

ArcGIS Pro version: 3 or higher.
See Also