ArcGIS Pro 2.8 API Reference Guide
CreatePolyline(Multipoint,SpatialReference) Method

ArcGIS.Core.Geometry Namespace > PolylineBuilder Class > CreatePolyline Method : CreatePolyline(Multipoint,SpatialReference) Method
Multipoint to create the polyline.
(Optional) The SpatialReference. The default value is null. If spatialReference is null, then the spatial reference will be inherited from multipoint.
Convenience method to create a new instance of the Polyline class.
Syntax
Public Overloads Shared Function CreatePolyline( _
   ByVal multipoint As Multipoint, _
   Optional ByVal spatialReference As SpatialReference _
) As Polyline

Parameters

multipoint
Multipoint to create the polyline.
spatialReference
(Optional) The SpatialReference. The default value is null. If spatialReference is null, then the spatial reference will be inherited from multipoint.

Return Value

Exceptions
ExceptionDescription
multipoint is null.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

PolylineBuilder Class
PolylineBuilder Members
Overload List