ArcGIS Pro 2.7 API Reference Guide
FromEsriShape Method (PolylineBuilder)

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

Parameters

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

Return Value

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

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

PolylineBuilder Class
PolylineBuilder Members