public static Polyline CreatePolyline( Segment segment, AttributeFlags attributes, SpatialReference spatialReference )
Public Overloads Shared Function CreatePolyline( _ ByVal segment As Segment, _ ByVal attributes As AttributeFlags, _ Optional ByVal spatialReference As SpatialReference _ ) As Polyline
Parameters
- segment
- A segment to create the polyline.
- attributes
- AttributeFlags to set the HasZ, HasM and HasID attributes. If no attributes should be set, pass AttributeFlags.None. If all attributes should be set, pass AttributeFlags.AllAttributes. Use the bitwise OR operator to set two attributes. For example, to set HasZ = true and HasM = true, pass AttributeFlags.HasZ | AttributeFlags.HasM.
- spatialReference
- (Optional) The SpatialReference. The default value is null. If spatialReference is null, then the spatial reference will be inherited from segment.
Return Value
A Polyline.