ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / Polyline Class
Members

In This Topic
    Polyline Class
    In This Topic
    A class representing a polyline.
    Object Model
    Polyline ClassGeometry ClassEnvelope ClassReadOnlyPartCollection ClassReadOnlySegmentCollection ClassReadOnlyPointCollection ClassMapPoint ClassSpatialReference Class
    Syntax
    public sealed class Polyline : Multipart 
    Public NotInheritable Class Polyline 
       Inherits Multipart
    Remarks
    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 PolylineBuilderEx class instead. The PolylineBuilderEx.ToGeometry method will provide you with the Polyline object.

    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.Geometry.Geometry
          ArcGIS.Core.Geometry.Multipart
             ArcGIS.Core.Geometry.Polyline

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also