ArcGIS Pro 2.9 API Reference Guide
LineBuilderEx Constructor(MapPoint,MapPoint,SpatialReference)

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.
Initializes 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.
Remarks
This is a straight line segment between the start and end point.

Line Segment

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

LineBuilderEx Class
LineBuilderEx Members
Overload List