ArcGIS Pro 2.6 API Reference Guide
Polyline Class

ArcGIS.Core.Geometry Namespace : Polyline Class
A class representing a polyline.
Object Model
Polyline ClassGeometry ClassEnvelope ClassReadOnlyPartCollection ClassReadOnlySegmentCollection ClassReadOnlyPointCollection ClassMapPoint ClassSpatialReference Class
public sealed class Polyline : Multipart 
Public NotInheritable Class Polyline 
   Inherits Multipart
A polyline is an ordered collection of paths where each path is a collection of contiguous segments. A Segment has a start and an end point. If a polyline has more than one path, the paths may be separate from one another. The paths of a polyline can be obtained using the Multipart.Parts method.

The boundary of a polyline is the set of start and end points of each path, the interior is the set of points in the polyline that are not in the boundary, and the exterior is the set of points that are not in the boundary or the interior.

A Polyline is based upon the parent Geometry class. The Geometry class is immutable which means that you can not change its shape once it is created. If you need to modify a Polyline once it has been created, use the PolylineBuilder class instead. The PolylineBuilder.ToGeometry method will provide you with the Polyline object.

Inheritance Hierarchy



Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also


Polyline Members
ArcGIS.Core.Geometry Namespace