public static Polyline CreatePolyline( IEnumerable<IEnumerable<Segment>> parts, SpatialReference spatialReference )
Public Overloads Shared Function CreatePolyline( _ ByVal parts As IEnumerable(Of IEnumerable(Of Segment)), _ Optional ByVal spatialReference As SpatialReference _ ) As Polyline
Parameters
- parts
- Parts to create the polyline. The spatial references of the segments in the parts are checked for compatibility.
- spatialReference
- (Optional) The SpatialReference. The default value is null. If spatialReference is null, then the spatial reference will be inherited from parts which requires traversing through the enumeration of points. For improved performance, use CreatePolyline(IEnumerable<IEnumerable<Segment>>,AttributeFlags,SpatialReference).
Return Value
A Polyline.