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

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

Parameters

polylineBuilderEx
The builder to create the polyline.
spatialReference
(Optional) The SpatialReference. The default value is null. If the input spatial reference is null, then the spatial reference from the input builder is used.
Exceptions
ExceptionDescription
polylineBuilderEx is null.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

PolylineBuilderEx Class
PolylineBuilderEx Members
Overload List