ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Core.Geometry Namespace / LineBuilderEx Class / LineBuilderEx Constructor / LineBuilderEx Constructor(LineSegment,SpatialReference)
The line segment.
(Optional) The spatial reference. The default value is null. The spatial reference of the input segment is ignored.

In This Topic
    LineBuilderEx Constructor(LineSegment,SpatialReference)
    In This Topic
    Creates a new instance of the LineBuilderEx class defined from the input segment.
    Syntax
    Public Function New( _
       ByVal segment As LineSegment, _
       Optional ByVal spatialReference As SpatialReference _
    )

    Parameters

    segment
    The line segment.
    spatialReference
    (Optional) The spatial reference. The default value is null. The spatial reference of the input segment is ignored.
    Exceptions
    ExceptionDescription
    segment is null.
    Remarks
    This is a straight line segment between the start and end point of the input line segment.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also