ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / PolylineBuilderEx Class / PolylineBuilderEx Constructor / PolylineBuilderEx Constructor(Segment,AttributeFlags,SpatialReference)
The segment for the first part.
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.
(Optional) The SpatialReference. The default value is null.

In This Topic
    PolylineBuilderEx Constructor(Segment,AttributeFlags,SpatialReference)
    In This Topic
    Creates a new instance of the PolylineBuilderEx class.
    Syntax
    Public Function New( _
       ByVal segment As Segment, _
       ByVal attributes As AttributeFlags, _
       Optional ByVal spatialReference As SpatialReference _
    )

    Parameters

    segment
    The segment for the first part.
    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.
    Exceptions
    ExceptionDescription
    The input segment is null.
    Remarks
    The spatial reference of the segment is ignored.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also