ArcGIS Pro 2.8 API Reference Guide
CreatePolyline(IEnumerable<Coordinate3D>,SpatialReference) Method

ArcGIS.Core.Geometry Namespace > PolylineBuilder Class > CreatePolyline Method : CreatePolyline(IEnumerable<Coordinate3D>,SpatialReference) Method
Coordinates to create the polyline.
(Optional) The SpatialReference. The default value is null.
Convenience method to create a new instance of the Polyline class.
Syntax
Public Overloads Shared Function CreatePolyline( _
   ByVal coordinates As IEnumerable(Of Coordinate3D), _
   Optional ByVal spatialReference As SpatialReference _
) As Polyline

Parameters

coordinates
Coordinates to create the polyline.
spatialReference
(Optional) The SpatialReference. The default value is null.

Return Value

Exceptions
ExceptionDescription
coordinates is null.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

PolylineBuilder Class
PolylineBuilder Members
Overload List