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

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.
Initializes 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, Windows 10, Windows 8.1

See Also

Reference

LineBuilderEx Class
LineBuilderEx Members
Overload List