ArcGIS Pro 2.9 API Reference Guide
FromEsriShape Method (GeometryBuilderEx)

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

Parameters

esriShapeBuffer
Esri shape buffer representation of Multipatch.
spatialReference
(Optional)The spatial reference of the Multipatch.

Return Value

Exceptions
ExceptionDescription
The esriShapeBuffer is empty or null.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GeometryBuilderEx Class
GeometryBuilderEx Members