public static Polyline CreatePolyline( IEnumerable<Segment> segments, SpatialReference spatialReference )
Public Overloads Shared Function CreatePolyline( _ ByVal segments As IEnumerable(Of Segment), _ Optional ByVal spatialReference As SpatialReference _ ) As Polyline
Parameters
- segments
- Segments to create the polyline. The spatial references of the segments 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 segments which requires traversing through the enumeration of segments. For improved performance or if you want to set these properties yourself, use CreatePolyline(IEnumerable<Segment>,AttributeFlags,SpatialReference).
Return Value
A Polyline.