ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Core.Geometry Namespace / LineBuilderEx Class / LineBuilderEx Constructor / LineBuilderEx Constructor(MapPoint,MapPoint,SpatialReference)
The start point.
The end point.
(Optional) The spatial reference. The default value is null. The spatial references of the start point and end point are ignored.

In This Topic
    LineBuilderEx Constructor(MapPoint,MapPoint,SpatialReference)
    In This Topic
    Creates a new instance of the LineBuilderEx class defined from the start and end point.
    Syntax
    Public Function New( _
       ByVal startPoint As MapPoint, _
       ByVal endPoint As MapPoint, _
       Optional ByVal spatialReference As SpatialReference _
    )

    Parameters

    startPoint
    The start point.
    endPoint
    The end point.
    spatialReference
    (Optional) The spatial reference. The default value is null. The spatial references of the start point and end point are ignored.
    Exceptions
    ExceptionDescription
    startPoint or endPoint is null or empty.
    Remarks
    This is a straight line segment between the start and end point.

    Line Segment

    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also