public static LineSegment CreateLineSegment( MapPoint startPoint, MapPoint endPoint, SpatialReference spatialReference )
Public Overloads Shared Function CreateLineSegment( _ ByVal startPoint As MapPoint, _ ByVal endPoint As MapPoint, _ Optional ByVal spatialReference As SpatialReference _ ) As LineSegment
Parameters
- startPoint
- The start point.
- endPoint
- The end point.
- spatialReference
- (Optional) The SpatialReference. The default value is null. The spatial references of the start point and end point are ignored.
Return Value
A LineSegment.